diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java index 2a1a2f0715..ee805afbe4 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java @@ -100,7 +100,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL /** * */ - private static final long serialVersionUID = -19192097402087013L; + private static final long serialVersionUID = -3538308098379400144L; protected Grid parameterGrid; private Borderlayout layout; @@ -152,8 +152,23 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL */ public InfoWindow(int WindowNo, String tableName, String keyColumn, String queryValue, boolean multipleSelection, String whereClause, int AD_InfoWindow_ID, boolean lookup) { + this(WindowNo, tableName, keyColumn, queryValue, multipleSelection, whereClause, AD_InfoWindow_ID, lookup, null); + } + + /** + * @param WindowNo + * @param tableName + * @param keyColumn + * @param multipleSelection + * @param whereClause + * @param lookup + * @param gridfield + */ + public InfoWindow(int WindowNo, String tableName, String keyColumn, String queryValue, + boolean multipleSelection, String whereClause, int AD_InfoWindow_ID, boolean lookup, GridField field) { super(WindowNo, tableName, keyColumn, multipleSelection, whereClause, - lookup); + lookup); + this.m_gridfield = field; this.queryValue = queryValue; this.AD_InfoWindow_ID = AD_InfoWindow_ID; 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 376fda13ba..40c545ea92 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 @@ -62,6 +62,7 @@ import org.adempiere.webui.part.WindowContainer; import org.adempiere.webui.session.SessionManager; import org.compiere.minigrid.ColumnInfo; import org.compiere.minigrid.IDColumn; +import org.compiere.model.GridField; import org.compiere.model.MInfoColumn; import org.compiere.model.MInfoWindow; import org.compiere.model.MPInstance; @@ -110,12 +111,11 @@ import org.zkoss.zul.ext.Sortable; */ public abstract class InfoPanel extends Window implements EventListener, WTableModelListener, Sortable, IHelpContext { - /** * */ - private static final long serialVersionUID = 6617464791677971237L; - + private static final long serialVersionUID = 965821837109028155L; + private final static int DEFAULT_PAGE_SIZE = 100; protected List