[
https://issues.apache.org/jira/browse/TRINIDAD-771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535940
]
Max Starets commented on TRINIDAD-771:
--------------------------------------
We should revert most of the changes introduced in issue 737. For now, the
currency should be established only if we are queuing a selection event fired
by this component.
Providing a patch
> returnListener from a commandButton is broken in a table facet
> ---------------------------------------------------------------
>
> Key: TRINIDAD-771
> URL: https://issues.apache.org/jira/browse/TRINIDAD-771
> Project: MyFaces Trinidad
> Issue Type: Sub-task
> Components: Components
> Affects Versions: 1.0.3-core
> Reporter: Sven Rottstock
> Fix For: 1.0.4-core
>
> Attachments: JIRA-771.patch
>
>
> 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="#{backing.handleReturn}" />
> </tr:panelButtonBar>
> </f:facet>
> <tr:column>
> <f:facet name="header">
> <tr:outputText value="Header 1"
> </f:facet>
> <tr:outputText value="#{row.data}" />
> </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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.