IDEMPIERE-1538 InfoPanel & InfoWindow is don't complete support multi select / IDEMPIERE-1335 Info window multi-select for proces some items/do action / Thanks to Heng Sin
This commit is contained in:
parent
c544f1ee2c
commit
c2877db98e
|
@ -135,7 +135,7 @@ public class DefaultInfoFactory implements IInfoFactory {
|
|||
|
||||
if (col.equals("M_Product_ID"))
|
||||
{
|
||||
InfoWindow infoWindow = new InfoProductWindow(lookup.getWindowNo(), tableName, keyColumn, queryValue, multiSelection, whereClause, AD_InfoWindow_ID);
|
||||
InfoWindow infoWindow = new InfoProductWindow(lookup.getWindowNo(), tableName, keyColumn, queryValue, true, whereClause, AD_InfoWindow_ID);
|
||||
if (infoWindow.loadedOK())
|
||||
return infoWindow;
|
||||
|
||||
|
|
|
@ -557,6 +557,7 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
|||
model = new ListModelTable(subList);
|
||||
model.setSorter(this);
|
||||
model.addTableModelListener(this);
|
||||
model.setMultiple(p_multipleSelection);
|
||||
contentPanel.setData(model, null);
|
||||
|
||||
pageNo = 0;
|
||||
|
@ -572,6 +573,7 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
|||
model = new ListModelTable(readLine(0, -1));
|
||||
model.setSorter(this);
|
||||
model.addTableModelListener(this);
|
||||
model.setMultiple(p_multipleSelection);
|
||||
contentPanel.setData(model, null);
|
||||
}
|
||||
}
|
||||
|
@ -586,6 +588,7 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
|||
model = new ListModelTable(new ArrayList<Object>());
|
||||
model.setSorter(this);
|
||||
model.addTableModelListener(this);
|
||||
model.setMultiple(p_multipleSelection);
|
||||
contentPanel.setData(model, null);
|
||||
}
|
||||
int no = m_count;
|
||||
|
@ -1177,6 +1180,7 @@ public abstract class InfoPanel extends Window implements EventListener<Event>,
|
|||
model = new ListModelTable(subList);
|
||||
model.setSorter(this);
|
||||
model.addTableModelListener(this);
|
||||
model.setMultiple(p_multipleSelection);
|
||||
contentPanel.setData(model, null);
|
||||
|
||||
contentPanel.setSelectedIndex(0);
|
||||
|
|
Loading…
Reference in New Issue