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

vineet semwal commented on WICKET-4800:
---------------------------------------

i don't need what i asked for in last comment ,i have added some other solution 
to my problem ..
                
> add getter for AjaxReaquestTarget.IListeners
> --------------------------------------------
>
>                 Key: WICKET-4800
>                 URL: https://issues.apache.org/jira/browse/WICKET-4800
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 1.5.8, 6.0.0
>            Reporter: vineet semwal
>            Priority: Minor
>
> i have a use case where my AjaxRequestTarget.IListener does some search for a 
> component and  then adds some script ,this can be done one time or more than 
> one time.
> currently since there is not a getter for IListeners ,i can't see if my 
> listener is already added so i have to add many such listeners so say if i 
> have to do that process 5 times.it will end up doing the same search for 
> component 5 times since there are 5 listeners now...
> this can be prevented by adding a getter for the Ilisteners... ,i will then 
> have to add one listener which will add the scripts provided to it.
> thanks !

--
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

Reply via email to