Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-211

Window onCreate fired twice for Execution#sendRedirect()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • 5.0.7
    • General
    • None

      https://sourceforge.net/tracker/?func=detail&aid=3363687&group_id=152762&atid=785191

      test.zul
      <zk>
      <window onCreate='System.out.println("ONCREATE")'></window>
      <button label="hello" onClick='Executions.getCurrent().sendRedirect("/test.zul")'></button>
      </zk>

      Click on "hello" and it prints ONCREATE twice.
      Only occurs on FF3.6.18 and IE7
      Note:
      1.In Firebug net panel I see one aborted GET request.
      2.Removing the leading "/" in sendRedirect URL is a workaround for consistent behavior across all browsers.

            PeterKuo PeterKuo
            asukachen asukachen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: