From 21693e24a9476f3a4b0ee2a62a82cc22968c0791 Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Thu, 28 Apr 2016 22:31:05 -0700 Subject: [PATCH] IDEMPIERE-3083 Initial Client Setup Process - Not unique in the ID space / IDEMPIERE-3071 --- .../src/org/adempiere/webui/apps/AbstractProcessDialog.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 656a1d955d..ed2d96eaf3 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 @@ -221,13 +221,13 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI m_pi.setTitle(m_Name); parameterPanel = new ProcessParameterPanel(m_WindowNo, m_pi); - layout(); if ( !parameterPanel.init() ) { if (m_ShowHelp != null && MProcess.SHOWHELP_DonTShowHelp.equals(m_ShowHelp)) autoStart = true; if (autoStart) { + layout(); bOK.setDisabled(true); bCancel.setDisabled(true); autoStart(); @@ -238,11 +238,14 @@ public abstract class AbstractProcessDialog extends Window implements IProcessUI // Check if the process is a silent one if (isValid() && m_ShowHelp != null && MProcess.SHOWHELP_RunSilently_TakeDefaults.equals(m_ShowHelp)) { + layout(); bOK.setDisabled(true); bCancel.setDisabled(true); autoStart(); return true; } + + layout(); return true; }