Wicket
  1. Wicket
  2. WICKET-4252 Ajax refactoring
  3. WICKET-3367

Rewrite all JavaScript inline event handlers to be proper attached event handlers

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0-beta1
    • Component/s: None
    • Labels:
      None

      Description

      Currently events added inside onclick, onsubmit attributes are problematic because they cannot be cancelled by other event handlers that are attached to events via javascript's addEventListener() and friends. We should extract all such inlined handlers and attach them via our Wicket.Event api.

      1. WICKET-3367.patch
        3 kB
        Martin Grigorov
      2. WICKET-3367.patch
        219 kB
        Martin Grigorov
      3. WICKET-3367.patch
        300 kB
        Martin Grigorov
      4. WICKET-3367.patch
        310 kB
        Martin Grigorov

        Issue Links

          Activity

          Sven Meier made changes -
          Link This issue breaks WICKET-4834 [ WICKET-4834 ]
          Martin Grigorov made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Martin Grigorov made changes -
          Assignee Martin Grigorov [ mgrigorov ]
          Martin Grigorov made changes -
          Attachment WICKET-3367.patch [ 12505668 ]
          Martin Grigorov made changes -
          Attachment WICKET-3367.patch [ 12505495 ]
          Martin Grigorov made changes -
          Attachment WICKET-3367.patch [ 12504869 ]
          Martin Grigorov made changes -
          Parent WICKET-4252 [ 12532151 ]
          Issue Type Improvement [ 4 ] Sub-task [ 7 ]
          Martin Grigorov made changes -
          Attachment WICKET-3367.patch [ 12504212 ]
          Igor Vaynberg made changes -
          Field Original Value New Value
          Link This issue duplicates WICKET-214 [ WICKET-214 ]
          Igor Vaynberg created issue -

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Igor Vaynberg
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development