diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/factory/DefaultInfoFactory.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/factory/DefaultInfoFactory.java index 08d7e727a7..8788d7446f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/factory/DefaultInfoFactory.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/factory/DefaultInfoFactory.java @@ -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; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java index ddb1886a67..1f30e704dd 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java @@ -557,6 +557,7 @@ public abstract class InfoPanel extends Window implements EventListener, 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, 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, model = new ListModelTable(new ArrayList()); 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, model = new ListModelTable(subList); model.setSorter(this); model.addTableModelListener(this); + model.setMultiple(p_multipleSelection); contentPanel.setData(model, null); contentPanel.setSelectedIndex(0);