From 9f67539c3dbfe9c5048cbd5dd6f9deecfdaa5c5a Mon Sep 17 00:00:00 2001 From: Carlos Ruiz Date: Fri, 7 Mar 2014 19:35:53 -0500 Subject: [PATCH] IDEMPIERE-1550 Zk: Problem with multiple browser tab / minor, regenerate serialVersionUID --- .../src/org/adempiere/webui/AdempiereWebUI.java | 2 +- .../src/org/adempiere/webui/apps/ProcessDialog.java | 5 +++-- .../org/adempiere/webui/apps/ProcessModalDialog.java | 9 +++++---- .../org/adempiere/webui/desktop/DefaultDesktop.java | 10 +++++----- .../src/org/adempiere/webui/window/ZkReportViewer.java | 2 +- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java index b157d311a2..9421c9a369 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/AdempiereWebUI.java @@ -77,7 +77,7 @@ public class AdempiereWebUI extends Window implements EventListener, IWeb /** * */ - private static final long serialVersionUID = 6505634026383902627L; + private static final long serialVersionUID = 5875869799688466929L; private static final String SAVED_CONTEXT = "saved.context"; 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 4adf037559..ac34030bc6 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 @@ -105,9 +105,10 @@ import com.lowagie.text.pdf.PdfWriter; public class ProcessDialog extends Window implements EventListener, IProcessUI, IHelpContext { /** - * generate serial version ID + * */ - private static final long serialVersionUID = 5545731871518761455L; + private static final long serialVersionUID = 6316822220179816250L; + private static final String MESSAGE_DIV_STYLE = "max-height: 150pt; overflow: auto; margin: 10px;"; private Div messageDiv; private Center center; 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 ddd329e5ba..2bbe9029fc 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 @@ -70,13 +70,14 @@ import org.zkoss.zul.Vlayout; */ public class ProcessModalDialog extends Window implements EventListener, IProcessUI, DialogEvents { + /** + * + */ + private static final long serialVersionUID = -3708004619583382450L; + private static final String ON_STATUS_UPDATE = "onStatusUpdate"; private static final String ON_COMPLETE = "onComplete"; - /** - * generated serial version ID - */ - private static final long serialVersionUID = -7109707014309321369L; private boolean m_autoStart; private VerticalBox dialogBody; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java index 9582947ff8..55d3e3b5c8 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java @@ -100,17 +100,17 @@ import org.zkoss.zul.West; */ public class DefaultDesktop extends TabbedDesktop implements MenuListener, Serializable, EventListener, EventHandler, DesktopCleanup { + /** + * + */ + private static final long serialVersionUID = -3578277408025379219L; + private static final String IMAGES_UPARROW_PNG = "images/collapse-header.png"; private static final String IMAGES_DOWNARROW_PNG = "images/expand-header.png"; private static final String IMAGES_CONTEXT_HELP_PNG = "images/Help16.png"; - /** - * generated serial version ID - */ - private static final long serialVersionUID = -8203958978173990301L; - @SuppressWarnings("unused") private static final CLogger logger = CLogger.getCLogger(DefaultDesktop.class); diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java index 45325e462e..af0e7c703d 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/ZkReportViewer.java @@ -136,7 +136,7 @@ public class ZkReportViewer extends Window implements EventListener, ITab /** * */ - private static final long serialVersionUID = 6208607687967139151L; + private static final long serialVersionUID = 3463776496724974142L; /** Window No */ private int m_WindowNo = -1;