From 63aec27abbd8ff43d47e317770f74172e90db4fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saulo=20Jos=C3=A9=20Gil?= Date: Tue, 11 May 2021 05:50:09 -0300 Subject: [PATCH] IDEMPIERE-4784 Support multiple selection lookups within process execution (#680) --- .../WEB-INF/src/org/adempiere/webui/window/FDialog.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FDialog.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FDialog.java index 4e1ebab343..b89f4fad6f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FDialog.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/FDialog.java @@ -23,6 +23,8 @@ import java.util.logging.Level; import org.adempiere.util.Callback; import org.adempiere.webui.apps.AEnv; import org.adempiere.webui.component.Messagebox; +import org.adempiere.webui.editor.WChosenboxListEditor; +import org.adempiere.webui.editor.WChosenboxSearchEditor; import org.adempiere.webui.editor.WEditor; import org.adempiere.webui.editor.WNumberEditor; import org.adempiere.webui.editor.WSearchEditor; @@ -373,6 +375,13 @@ public class FDialog case DisplayType.Search: weditor = new WSearchEditor(lookup, "", "", true, false, true); break; + case DisplayType.ChosenMultipleSelectionSearch: + weditor = new WChosenboxSearchEditor(lookup, "", "", true, false, true); + break; + case DisplayType.ChosenMultipleSelectionList: + case DisplayType.ChosenMultipleSelectionTable: + weditor = new WChosenboxListEditor(lookup, "", "", true, false, true); + break; default: weditor = null; break;