From 312cd4914e339b35983acfa44c18edbdbb0e0d67 Mon Sep 17 00:00:00 2001 From: hieplq Date: Tue, 4 Aug 2015 20:54:28 +0800 Subject: [PATCH] IDEMPIERE-2367:remove cache of infoPanel --- .../src/org/compiere/model/MSysConfig.java | 3 ++- .../src/org/adempiere/webui/panel/InfoPanel.java | 12 +++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/org.adempiere.base/src/org/compiere/model/MSysConfig.java b/org.adempiere.base/src/org/compiere/model/MSysConfig.java index 4e50c7edcb..ef20500acc 100644 --- a/org.adempiere.base/src/org/compiere/model/MSysConfig.java +++ b/org.adempiere.base/src/org/compiere/model/MSysConfig.java @@ -159,7 +159,8 @@ public class MSysConfig extends X_AD_SysConfig public static final String ZK_SESSION_TIMEOUT_IN_SECONDS = "ZK_SESSION_TIMEOUT_IN_SECONDS"; public static final String ZK_THEME = "ZK_THEME"; public static final String ZK_SEQ_DEFAULT_VALUE_PANEL = "ZK_SEQ_DEFAULT_VALUE_PANEL"; - + public static final String ZK_INFO_NUM_PAGE_RELOAD = "ZK_INFO_NUM_PAGE_RELOAD"; + /** * Standard Constructor * @param ctx context diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java index fd2a45d0c4..7fe1a9646b 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java @@ -117,6 +117,7 @@ public abstract class InfoPanel extends Window implements EventListener, private static final long serialVersionUID = 965821837109028155L; private final static int DEFAULT_PAGE_SIZE = 100; + private final static int DEFAULT_PAGE_RELOAD = 4; protected List