From 3efbdba935bc109358eb5d2acdd63e5fe797a49b Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Tue, 15 Dec 2009 03:12:43 +0000 Subject: [PATCH] https://sourceforge.net/tracker/?func=detail&aid=2900233&group_id=176962&atid=955896 - implement search by attribute in Product Info --- .../src/org/adempiere/webui/panel/InfoPAttributePanel.java | 3 +++ .../src/org/adempiere/webui/panel/InfoProductPanel.java | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributePanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributePanel.java index f82d2996cf..fefeebb248 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributePanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoPAttributePanel.java @@ -71,6 +71,9 @@ public class InfoPAttributePanel extends Window implements EventListener { super(); setTitle(Msg.getMsg(Env.getCtx(), "InfoPAttribute")); + this.setBorder("normal"); + this.setMaximizable(true); + this.setSizable(true); try { diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java index 0b07d248fa..462290b111 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java @@ -944,7 +944,10 @@ public class InfoProductPanel extends InfoPanel implements EventListener InfoPAttributePanel ia = new InfoPAttributePanel(this); m_pAttributeWhere = ia.getWhereClause(); if (m_pAttributeWhere != null) + { executeQuery(); + renderItems(); + } } // cmdInfoAttribute /** @@ -1155,6 +1158,7 @@ public class InfoProductPanel extends InfoPanel implements EventListener if(component == m_InfoPAttributeButton) { cmd_InfoPAttribute(); + return; } m_pAttributeWhere = null;