Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8861

JSF Flash doesn't return data in the right order

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • No Release
    • 6.0.0.Final
    • JSF
    • None

    Description

      Data stored in JSF flash during a request is not returned in the next request. It's returned during the 3rd request. I have a very simple test to verify this behavior.

      LoginBackingBean has two methods which are called in 2 subsequent requests. Variable kept in flash memory during request 1 doesn't return in request 2 but in request 3.

      3 small files required to reproduce are attached. First referer.xhtml should be opened in a JSF app, then its login button calls doLogin method and takes you to Login.xhtml file. Now "Simulate Login" button need to be clicked twice to get the variable.

      Attachments

        1. login.xhtml
          0.6 kB
        2. LoginBackingBean.java
          0.5 kB
        3. Referer.xhtml
          0.6 kB

        Activity

          People

            ssilvert@redhat.com Stan Silvert
            devinderpal_jira Jboss fan99 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: