Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-9722

a4j:status - error handling - lifecycle broken (MyFaces)

    Details

    • Steps to Reproduce:
      Hide

      1. open http://localhost:8080/metamer/faces/components/a4jStatus/simple.xhtml
      2. set onerror=alert('error')
      3. set onstart=alert('start')
      4. set onsuccess=alert('success')
      5. set onstop=alert('stop')
      6. click "Sed Ajax Requests Causing Error" button

      Show
      1. open http://localhost:8080/metamer/faces/components/a4jStatus/simple.xhtml 2. set onerror=alert('error') 3. set onstart=alert('start') 4. set onsuccess=alert('success') 5. set onstop=alert('stop') 6. click "Sed Ajax Requests Causing Error" button

      Description

      When binding event handlers to status, you can see following lifecycle using Mojarra:
      1. start
      2. success
      3. stop

      But using MyFaces, you will see:
      1. start
      2. error
      3. stop
      4. success
      5. stop

      but only one request was actually done.

      Also the status are showing STOP facet instead of ERROR.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  pyaschenko Pavel Yaschenko
                  Reporter:
                  lfryc Lukáš Fryč
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: