UIViewRoot removed from session is causing returnListner not being called on 
commandButton component
----------------------------------------------------------------------------------------------------

                 Key: TRINIDAD-2171
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2171
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.0.13-core 
         Environment: not relevant
            Reporter: Tomas Bilka
            Priority: Critical


Due to an issue fixed by https://issues.apache.org/jira/browse/TRINIDAD-1193 a 
change in code has been done so that UIViewRoot is now being removed eagerly 
from session.

Because of this change the "commandButton" tag defined as  <tr:commandButton 
... returnListener="bean.listenerMethod" ... useWindow="true" /> stops calling 
the bean.listenerMethod. 
Setting useWindow="false" causes the bean.listenerMethod to be called again.

The same behavior can be observed when checking the trinidad-examples 
(trinidad-1.0.13-example.zip). After running the demo app navigate to 
http://localhost:8080/trinidad-demo/demos/launchDialog.faces and try to sum two 
numbers. The result will not be shown as the returnListner bean method is not 
called.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to