Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5025

Set the component as a context to the ajax listeners

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.5.0
    • 6.6.0
    • wicket
    • None

    Description

      Currently to get the component in an Ajax listener (before, success, complete, ...) one has to use: attrs.event.target.

      In Wicket 1.5 one could use 'this' in ajax call decorators because the script was a value of the inline attribute.

      Currently 'this' in event listeners is unusable. It would be good to set the component as a context.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: