You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2007/10/23 16:15:50 UTC
[jira] Issue Comment Edited: (TRINIDAD-771) returnListener from a
commandButton is broken in a table facet
[ https://issues.apache.org/jira/browse/TRINIDAD-771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535940 ]
mstarets edited comment on TRINIDAD-771 at 10/23/07 7:14 AM:
----------------------------------------------------------------
For now, we should revert all of the changes introduced in issue 737.
Providing a patch
was (Author: mstarets):
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.