- implement search by attribute in Product Info
This commit is contained in:
parent
b93ee106b0
commit
3efbdba935
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue