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

a4j:jsFunction - oncomplete is called twice

    Details

    • Steps to Reproduce:
      Hide

      trigger the test() function in a javascript console.
      the alert appears twice.

      Show
      trigger the test() function in a javascript console. the alert appears twice.

      Description

      oncomplete attribute in a4j:jsFunction executes twice.
      Here is a simple example to reproduce the issue.

      <a4j:jsFunction id="js1" name="test"
      execute="@this"
      oncomplete="alert(++count)" />

      <h:outputScript>
      var count = 0;
      </h:outputScript>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                bluez974 Franck Gasparotto
                Tester:
                Pavol Pitonak
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: