[ 
https://issues.apache.org/jira/browse/WICKET-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972846#action_12972846
 ] 

James Carman commented on WICKET-3263:
--------------------------------------

The trick is making sure the users who override the factory method don't forget 
add the listeners.  The factory method should be final.  Then users can supply 
their own provider if they need to customize further.

> Allow AjaxRequestTarget.IListeners to be Registered at the WebApplication 
> Level
> -------------------------------------------------------------------------------
>
>                 Key: WICKET-3263
>                 URL: https://issues.apache.org/jira/browse/WICKET-3263
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: James Carman
>         Attachments: WICKET-3263.patch
>
>
> Right now, in order to register an AjaxRequestTarget.IListener, you have to 
> override WebApplication.newAjaxRequestTarget(Page p).  That does make Wicket 
> very "pluggable."  What if multiple frameworks need to add in that hook?  So, 
> why not allow a global, application-level, registry of those listeners.  Each 
> AjaxRequestTarget would have those listeners added to it.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to