Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.3-core
-
None
Description
if you add a returnListener to a commandButton which is defined in a table facet, the listener is not called.
Here is a short example:
<tr:table var="row" value="#
{backing.allRows}">
<f:facet name="footer">
<tr:panelButtonBar>
<tr:commandButton text="Hit me" partialSubmit="true"
useWindow="true" immediate="true"
action="dialog:openHitMeDialog"
returnListener="#
" />
</tr:panelButtonBar>
</f:facet>
<tr:column>
<f:facet name="header">
<tr:outputText value="Header 1"
</f:facet>
<tr:outputText value="#
" />
</tr:column>
</tr:table>
The handleReturn method is not called if you close the popup via RequestContext.getCurrentInstance().returnFromDialog(..)
Without the patch from trinidad issue 737, the returnListener is called again.