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

Set the component as a context to the ajax listeners

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.6.0
    • Component/s: wicket
    • Labels:
      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

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              mgrigorov Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: