You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/02/04 14:32:12 UTC

[jira] [Created] (WICKET-5025) Set the component as a context to the ajax listeners

Martin Grigorov created WICKET-5025:
---------------------------------------

             Summary: Set the component as a context to the ajax listeners
                 Key: WICKET-5025
                 URL: https://issues.apache.org/jira/browse/WICKET-5025
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 6.5.0
            Reporter: Martin Grigorov
            Priority: Minor


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira