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


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.

Reply via email to