diff --git a/org.adempiere.base/src/org/compiere/process/ProcessInfo.java b/org.adempiere.base/src/org/compiere/process/ProcessInfo.java index 00f4ea6ecf..10e74c4a2a 100644 --- a/org.adempiere.base/src/org/compiere/process/ProcessInfo.java +++ b/org.adempiere.base/src/org/compiere/process/ProcessInfo.java @@ -40,10 +40,11 @@ import org.compiere.util.Util; */ public class ProcessInfo implements Serializable { + /** * */ - private static final long serialVersionUID = -1084726411940456050L; + private static final long serialVersionUID = -7810177110347837681L; /** * Constructor diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java index 61c5744486..e265045bba 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/AbstractProcessDialog.java @@ -98,11 +98,11 @@ import org.zkoss.zul.Vlayout; public abstract class AbstractProcessDialog extends Window implements IProcessUI, EventListener { + /** * */ - private static final long serialVersionUID = 761285757875594250L; - + private static final long serialVersionUID = -4807787318205732697L; private static final String ON_COMPLETE = "onComplete"; private static final String ON_STATUS_UPDATE = "onStatusUpdate"; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java index 8b938b5a38..3e63e3fdda 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessDialog.java @@ -85,10 +85,11 @@ import com.lowagie.text.pdf.PdfWriter; */ public class ProcessDialog extends AbstractProcessDialog implements EventListener, IHelpContext { + /** * */ - private static final long serialVersionUID = 1320565116095846687L; + private static final long serialVersionUID = 5958768001208626552L; public static final String ON_INITIAL_FOCUS_EVENT = "onInitialFocus"; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessModalDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessModalDialog.java index 3d71d737d2..182800d101 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessModalDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessModalDialog.java @@ -45,8 +45,7 @@ public class ProcessModalDialog extends AbstractProcessDialog implements EventLi /** * */ - private static final long serialVersionUID = -3260639688339379279L; - + private static final long serialVersionUID = -6227339628038418701L; /** Logger */ private static CLogger log = CLogger.getCLogger(ProcessModalDialog.class); // @@ -82,7 +81,8 @@ public class ProcessModalDialog extends AbstractProcessDialog implements EventLi try { init(Env.getCtx(), WindowNo, pi.getAD_Process_ID(), pi, autoStart, true); - mainParameterLayout.setStyle("max-height:" + (SessionManager.getAppDesktop().getClientInfo().desktopHeight - 150) + "px"); + if (mainParameterLayout != null)// when auto start it's null + mainParameterLayout.setStyle("max-height:" + (SessionManager.getAppDesktop().getClientInfo().desktopHeight - 150) + "px"); this.setSclass("popup-dialog"); } catch(Exception ex) @@ -148,13 +148,6 @@ public class ProcessModalDialog extends AbstractProcessDialog implements EventLi this.detach(); } // dispose - @Override - public void autoStart() - { - this.getFirstChild().setVisible(false); - super.autoStart(); - } - @Override public void showBusyDialog() { BusyDialog progressWindow = createBusyDialog(); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java index 6e3c3e4dee..1f37eaac9d 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/ProcessParameterPanel.java @@ -77,7 +77,7 @@ public class ProcessParameterPanel extends Panel implements /** * */ - private static final long serialVersionUID = -5730428618898681676L; + private static final long serialVersionUID = -6190176000439901932L; /** * Dynamic generated Parameter panel. diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ProcessInfoDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ProcessInfoDialog.java index eab4ba0236..ba1916412d 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ProcessInfoDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/ProcessInfoDialog.java @@ -42,10 +42,11 @@ import org.zkoss.zul.Separator; * @author Deepak Pansheriya */ public class ProcessInfoDialog extends Window implements EventListener { + /** * */ - private static final long serialVersionUID = 4479446865514015847L; + private static final long serialVersionUID = -1712025652050086903L; private static final String MESSAGE_PANEL_STYLE = "text-align:left; word-break: break-all; overflow: auto; max-height: 250pt; min-width: 230pt; max-width: 450pt;";