IDEMPIERE-5335 : InfoWindows opened from WChosenboxSearchEditor should allow multi selection (#1383)
This commit is contained in:
parent
809e3ae734
commit
52948a479c
|
@ -452,7 +452,7 @@ public class WChosenboxSearchEditor extends WEditor implements ContextMenuListen
|
|||
if (m_tableName == null) // sets table name & key column
|
||||
setTableAndKeyColumn();
|
||||
|
||||
final InfoPanel ip = InfoManager.create(lookup, gridField, m_tableName, m_keyColumnName, null, false, whereClause);
|
||||
final InfoPanel ip = InfoManager.create(lookup, gridField, m_tableName, m_keyColumnName, null, true, whereClause);
|
||||
if (ip != null)
|
||||
showInfoPanel(ip);
|
||||
}
|
||||
|
|
|
@ -176,7 +176,7 @@ public class DefaultInfoFactory implements IInfoFactory {
|
|||
}
|
||||
else // General Info
|
||||
{
|
||||
info = create(lookup.getWindowNo(), tableName, keyColumn, queryValue, false, whereClause, AD_InfoWindow_ID, true);
|
||||
info = create(lookup.getWindowNo(), tableName, keyColumn, queryValue, multiSelection, whereClause, AD_InfoWindow_ID, true);
|
||||
}
|
||||
return info;
|
||||
}
|
||||
|
|
|
@ -121,7 +121,7 @@ public class InfoManager
|
|||
IInfoFactory service = serviceReference.getService();
|
||||
if (service != null) {
|
||||
visitedIds.add(key);
|
||||
ip = service.create(lookup, field, tableName, keyColumn, queryValue, false, whereClause, AD_InfoWindow_ID);
|
||||
ip = service.create(lookup, field, tableName, keyColumn, queryValue, multiSelection, whereClause, AD_InfoWindow_ID);
|
||||
if (ip != null)
|
||||
return ip;
|
||||
} else {
|
||||
|
|
|
@ -69,7 +69,7 @@ public class InfoGeneralPanel extends InfoPanel implements EventListener<Event>
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 3328089102224160413L;
|
||||
private static final long serialVersionUID = 624139753237845647L;
|
||||
|
||||
private Textbox txt1;
|
||||
private Textbox txt2;
|
||||
|
@ -94,14 +94,14 @@ public class InfoGeneralPanel extends InfoPanel implements EventListener<Event>
|
|||
|
||||
private int noOfParameterColumn;
|
||||
|
||||
public InfoGeneralPanel(String queryValue, int windowNo,String tableName,String keyColumn, boolean isSOTrx, String whereClause)
|
||||
public InfoGeneralPanel(String queryValue, int windowNo,String tableName,String keyColumn, boolean multipleSelection, String whereClause)
|
||||
{
|
||||
this(queryValue, windowNo, tableName, keyColumn, isSOTrx, whereClause, true);
|
||||
this(queryValue, windowNo, tableName, keyColumn, multipleSelection, whereClause, true);
|
||||
}
|
||||
|
||||
public InfoGeneralPanel(String queryValue, int windowNo,String tableName,String keyColumn, boolean isSOTrx, String whereClause, boolean lookup)
|
||||
public InfoGeneralPanel(String queryValue, int windowNo,String tableName,String keyColumn, boolean multipleSelection, String whereClause, boolean lookup)
|
||||
{
|
||||
super(windowNo, tableName, keyColumn, false, whereClause, lookup, 0, queryValue);
|
||||
super(windowNo, tableName, keyColumn, multipleSelection, whereClause, lookup, 0, queryValue);
|
||||
|
||||
setTitle(Msg.getMsg(Env.getCtx(), "Info"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue