Fix problem because of the change on element ClassName by Classname
This commit is contained in:
parent
67b6793663
commit
dad3c5de07
55
.classpath
55
.classpath
|
@ -18,6 +18,7 @@
|
|||
<classpathentry kind="src" path="tools/src"/>
|
||||
<classpathentry kind="src" path="webCM/src/main/servlet"/>
|
||||
<classpathentry kind="src" path="migration/src"/>
|
||||
<classpathentry kind="src" path="posterita/posterita/src/main"/>
|
||||
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry exported="true" kind="lib" path="tools/lib/activation.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="tools/lib/jstl.jar"/>
|
||||
|
@ -44,40 +45,27 @@
|
|||
<classpathentry exported="true" kind="lib" path="tools/lib/c3p0-oracle-thin-extras-0.9.1.2.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="tools/lib/activemq-core-5.0.0.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/asm.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/bsh.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/commons-el.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/commons-fileupload.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/commons-io.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/fckez.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/Filters.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/gmapsz.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/groovy.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/jcommon.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/jfreechart.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/jruby.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/js.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/json_simple.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/jxl.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/jython.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/mvel.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/ognl.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/timelinez.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zcommons-el.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zcommon-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zhtml.jar" sourcepath="zkwebui/WEB-INF/lib/zhtml-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zhtml-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zkex.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zkex-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zkmax.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zkmax-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zkplus.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zkplus-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zk-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zml.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zml-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zul-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zweb.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zweb-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="tools/lib/looks-2.0.4.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="serverApps/src/web/WEB-INF/lib/commons-beanutils.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="serverApps/src/web/WEB-INF/lib/commons-beanutils-bean-collections.jar"/>
|
||||
|
@ -101,7 +89,6 @@
|
|||
<classpathentry exported="true" kind="lib" path="tools/lib/jython-engine.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="tools/lib/script-api.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="JasperReportsTools/lib/iReport.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/junit.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zcommon.jar" sourcepath="zkwebui/WEB-INF/lib/zcommon-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zk.jar" sourcepath="zkwebui/WEB-INF/lib/zk-sources.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="zkwebui/WEB-INF/lib/zul.jar" sourcepath="zkwebui/WEB-INF/lib/zul-sources.jar"/>
|
||||
|
@ -113,7 +100,45 @@
|
|||
<classpathentry exported="true" kind="lib" path="tools/lib/javaee.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="jboss/client/jbosssx-client.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="jboss/client/jnp-client.jar"/>
|
||||
<classpathentry kind="lib" path="glassfishfacet/lib/appserv-rt.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="glassfishfacet/lib/appserv-rt.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="jboss/client/jbossall-client.jar"/>
|
||||
<classpathentry exported="true" kind="lib" path="posterita/posterita/web/WEB-INF/lib/struts.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/aop.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/aspectjrt.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/barcode4j.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/displaytag-export-poi-1.1.1.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/jcommon-1.0.10.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/jfreechart-1.0.2.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/servlet.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/bsh.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/commons-fileupload.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/groovy.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/jcommon.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/jfreechart.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/junit.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/jython.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/timelinez-sources.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/zcommon-sources.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/zkex-sources.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/zkplus-sources.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/zk-sources.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/zml-sources.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/zul-sources.jar"/>
|
||||
<classpathentry kind="lib" path="zkwebui/WEB-INF/lib/zweb-sources.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/reference/aspectJ/aspectjlib.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/reference/aspectJ/aspectjtools.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/reference/aspectJ/aspectjweaver.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/activation.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/commons-beanutils-1.7.0.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/commons-collections.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/commons-digester.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/commons-fileupload.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/commons-lang-2.3.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/commons-logging.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/commons-validator.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/displaytag-1.1.1.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/itext-1.3.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/log4j-1.2.13.jar"/>
|
||||
<classpathentry kind="lib" path="posterita/posterita/web/WEB-INF/lib/poi-3.0-FINAL.jar"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
|
|
|
@ -25,7 +25,7 @@ import org.compiere.util.KeyNamePair;
|
|||
|
||||
/** Generated Model for AD_PrintFormat
|
||||
* @author Adempiere (generated)
|
||||
* @version Release 3.5.2a - $Id$ */
|
||||
* @version Release 3.5.3a - $Id$ */
|
||||
public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persistent
|
||||
{
|
||||
|
||||
|
@ -86,7 +86,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
return sb.toString();
|
||||
}
|
||||
|
||||
public I_AD_PrintColor getAD_PrintColor() throws Exception
|
||||
public I_AD_PrintColor getAD_PrintColor() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_PrintColor.Table_Name);
|
||||
I_AD_PrintColor result = null;
|
||||
|
@ -97,7 +97,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_PrintFont getAD_PrintFont() throws Exception
|
||||
public I_AD_PrintFont getAD_PrintFont() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_PrintFont.Table_Name);
|
||||
I_AD_PrintFont result = null;
|
||||
|
@ -135,7 +135,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_PrintPaper getAD_PrintPaper() throws Exception
|
||||
public I_AD_PrintPaper getAD_PrintPaper() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_PrintPaper.Table_Name);
|
||||
I_AD_PrintPaper result = null;
|
||||
|
@ -195,7 +195,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -222,7 +222,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_PrintTableFormat getAD_PrintTableFormat() throws Exception
|
||||
public I_AD_PrintTableFormat getAD_PrintTableFormat() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_PrintTableFormat.Table_Name);
|
||||
I_AD_PrintTableFormat result = null;
|
||||
|
@ -233,7 +233,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -261,7 +261,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_ReportView getAD_ReportView() throws Exception
|
||||
public I_AD_ReportView getAD_ReportView() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_ReportView.Table_Name);
|
||||
I_AD_ReportView result = null;
|
||||
|
@ -272,7 +272,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -300,7 +300,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
return ii.intValue();
|
||||
}
|
||||
|
||||
public I_AD_Table getAD_Table() throws Exception
|
||||
public I_AD_Table getAD_Table() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(I_AD_Table.Table_Name);
|
||||
I_AD_Table result = null;
|
||||
|
@ -311,7 +311,7 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
} catch (Exception e) {
|
||||
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
|
||||
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
|
||||
throw e;
|
||||
throw new RuntimeException( e );
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
@ -352,18 +352,21 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
return (String)get_Value(COLUMNNAME_Args);
|
||||
}
|
||||
|
||||
/** Set ClassName.
|
||||
@param ClassName ClassName */
|
||||
public void setClassName (String ClassName)
|
||||
/** Set Classname.
|
||||
@param Classname
|
||||
Java Classname
|
||||
*/
|
||||
public void setClassname (String Classname)
|
||||
{
|
||||
set_Value (COLUMNNAME_ClassName, ClassName);
|
||||
set_Value (COLUMNNAME_Classname, Classname);
|
||||
}
|
||||
|
||||
/** Get ClassName.
|
||||
@return ClassName */
|
||||
public String getClassName ()
|
||||
/** Get Classname.
|
||||
@return Java Classname
|
||||
*/
|
||||
public String getClassname ()
|
||||
{
|
||||
return (String)get_Value(COLUMNNAME_ClassName);
|
||||
return (String)get_Value(COLUMNNAME_Classname);
|
||||
}
|
||||
|
||||
/** Set Create Copy.
|
||||
|
@ -533,8 +536,6 @@ public class X_AD_PrintFormat extends PO implements I_AD_PrintFormat, I_Persiste
|
|||
return false;
|
||||
}
|
||||
|
||||
/** JasperProcess_ID AD_Reference_ID=400 */
|
||||
public static final int JASPERPROCESS_ID_AD_Reference_ID=400;
|
||||
/** Set Jasper Process.
|
||||
@param JasperProcess_ID
|
||||
The Jasper Process used by the printengine if any process defined
|
||||
|
|
|
@ -183,7 +183,7 @@ public class PrintManager
|
|||
ReportEngine re = ReportEngine.get(ctx,type, recordId);
|
||||
MPrintFormat printFormatter = re.getPrintFormat();
|
||||
|
||||
String classname = printFormatter.getClassName();
|
||||
String classname = printFormatter.getClassname();
|
||||
|
||||
if (classname != null)
|
||||
{
|
||||
|
@ -290,7 +290,7 @@ public class PrintManager
|
|||
MPrintFormat printFormatter = re.getPrintFormat();
|
||||
|
||||
args = printFormatter.getArgs();
|
||||
className = printFormatter.getClassName();
|
||||
className = printFormatter.getClassname();
|
||||
|
||||
if(className == null)
|
||||
{
|
||||
|
@ -342,7 +342,7 @@ public class PrintManager
|
|||
MPrintFormat printFormatter = re.getPrintFormat();
|
||||
|
||||
printingArgs = printFormatter.getArgs();
|
||||
className = printFormatter.getClassName();
|
||||
className = printFormatter.getClassname();
|
||||
|
||||
if(className == null || className.length() == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue