I have a popup dialog which is shown via the adf framework by specifying <run-as-dialog> on the <task-flow-call>.
This popup is shown in two different contexts: In one it is shown via RichCommandMenuItem, in the other it is shown via RichCommandToolbarButton. For both I do .setReturnListener via the same function pointing to the same MethodExpression.
Subsequently in the bean for the popup I do .returnFromDialog.
However, when the popup is invoked via the menu item, the return listener handler is called. But, when the popup is invoked via the toolbar button the return listener handler is not called.
Can anyone suggest any reasons why a return listener from a RichCommandToolbarButton might not be called?