IDEMPIERE-4784 Support multiple selection lookups within process execution (#680)

This commit is contained in:
Saulo José Gil 2021-05-11 05:50:09 -03:00 committed by GitHub
parent 2bba622b82
commit 63aec27abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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;