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/07 10:25:14 UTC

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

     [ https://issues.apache.org/jira/browse/WICKET-5025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5025.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.6.0
    
> 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
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.6.0
>
>
> 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