Hi,
I am creating LookupPickerField
via ComponentsFactory
, and I want to force dialog (even the target entity is not forced to be opened in dialog).
Is it possible?
Thanks.
Hi,
I am creating LookupPickerField
via ComponentsFactory
, and I want to force dialog (even the target entity is not forced to be opened in dialog).
Is it possible?
Thanks.
Hi,
You can use xxxOpenType
option of the corresponding action:
LookupAction
/ OpenAction
(check their API):
LookupPickerField lookupPickerField = componentsFactory.createComponent(LookupPickerField.class);
PickerField.LookupAction lookupAction = lookupPickerField.addLookupAction();
lookupAction.setLookupScreenOpenType(WindowManager.OpenType.DIALOG);
Working!, Thank you…