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

a4j:poll - onbeforedomupdate executes after oncomplete

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Milestone5
    • Fix Version/s: 4.0.0.Milestone6
    • Component/s: component-a4j-core
    • Labels:
      None
    • Environment:
      • RichFaces 4.0.0-SNAPSHOT r.21312
      • Metamer 4.0.0-SNAPSHOT r.21307
      • Mojarra 2.0.3-FCS
      • Apache Tomcat 7.0.6
      • OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
      • Firefox 3.6.13 @ Linux x86_64
    • Steps to Reproduce:
      Hide

      1. open http://localhost:8080/metamer/faces/components/a4jPoll/simple.xhtml
      2. set @onbeforedomupdate=alert('beforedomupdate')
      3. set @oncomplete=alert('complete')
      4. wait for poll request
      FAIL: alert 'complete' shows before 'beforedomupdate'

      Show
      1. open http://localhost:8080/metamer/faces/components/a4jPoll/simple.xhtml 2. set @onbeforedomupdate=alert('beforedomupdate') 3. set @oncomplete=alert('complete') 4. wait for poll request FAIL: alert 'complete' shows before 'beforedomupdate'

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nbelaevski Nick Belaevski
                Reporter:
                lfryc Lukáš Fryč
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: