Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2171

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 1.0.13-core
    • None
    • Components
    • None
    • not relevant

    Description

      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.

      Attachments

        Activity

          People

            darkarena Scott O'Bryan
            donnie Tomas Bilka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: