- 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();
|
super();
|
||||||
setTitle(Msg.getMsg(Env.getCtx(), "InfoPAttribute"));
|
setTitle(Msg.getMsg(Env.getCtx(), "InfoPAttribute"));
|
||||||
|
this.setBorder("normal");
|
||||||
|
this.setMaximizable(true);
|
||||||
|
this.setSizable(true);
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -944,7 +944,10 @@ public class InfoProductPanel extends InfoPanel implements EventListener
|
||||||
InfoPAttributePanel ia = new InfoPAttributePanel(this);
|
InfoPAttributePanel ia = new InfoPAttributePanel(this);
|
||||||
m_pAttributeWhere = ia.getWhereClause();
|
m_pAttributeWhere = ia.getWhereClause();
|
||||||
if (m_pAttributeWhere != null)
|
if (m_pAttributeWhere != null)
|
||||||
|
{
|
||||||
executeQuery();
|
executeQuery();
|
||||||
|
renderItems();
|
||||||
|
}
|
||||||
} // cmdInfoAttribute
|
} // cmdInfoAttribute
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1155,6 +1158,7 @@ public class InfoProductPanel extends InfoPanel implements EventListener
|
||||||
if(component == m_InfoPAttributeButton)
|
if(component == m_InfoPAttributeButton)
|
||||||
{
|
{
|
||||||
cmd_InfoPAttribute();
|
cmd_InfoPAttribute();
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_pAttributeWhere = null;
|
m_pAttributeWhere = null;
|
||||||
|
|
Loading…
Reference in New Issue