- implement search by attribute in Product Info
This commit is contained in:
Heng Sin Low 2009-12-15 03:12:43 +00:00
parent b93ee106b0
commit 3efbdba935
2 changed files with 7 additions and 0 deletions

View File

@ -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
{

View File

@ -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;