Hi All,
before executing my ‘onSearch’ method, I had to check whether a specific form was in dialog or not.
So, I tried to read the result of the following functions right at the top of this ‘onSearch’ method:
- controller.getContainerName();
- controller.getFormContext();
- application.isFormInDialog(); (I know: it’s deprecated, but still…)
below the results with and without this form shown in dialog:
-
dialog
-
row_1[dialog, sys_dlg_findDate, null, null, null]
-
true
-
row_1[dialog, sys_dlg_findDate, null, null, null]
-
false
Notice the getFormContext() function keeps telling me it’s in dialog while it isn’t
This behaviour is noticeable after having this form has been displayed once in a dialog.
Is this expected behaviour or should I file a case?
Thnkx!