returnListener not called from manually launched dialog.
--------------------------------------------------------

                 Key: TRINIDAD-1244
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1244
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.0.7-core
         Environment: winxp
            Reporter: Steve Horne


I am using Trinidad and Facelets.  I have a commandButton that has an action 
binding to a backing bean method that programmatically launches a dialog 
(facelet).  Here is my commandButton:

<tr:commandButton text="lookup" action="#{customerLookupSupport.openDialog}" 
useWindow="true" partialSubmit="true" 
returnListener="#{backer.customerLookupReturnListener}"/>

My dialog has a link binding to a method that calls 
RequestContext.returnFromDialog().

Everything works properly- the dialog appears and when the link in the dialog 
is clicked, the returnFromDialog method executes and the dialog is popped-down. 
 However, the returnListener is never called.  Am I wrong to expect this to 
work this way when using programmatic launching/closing of the dialog?

There will be a WAR file reproducing my steps attached to this defect.

-- 
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