Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4252 Ajax refactoring
  3. WICKET-3367

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0-beta1
    • None
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              ivaynberg Igor Vaynberg
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: