vineet semwal created WICKET-4800:
-------------------------------------

             Summary: add getter for AjaxReaquestTarget.IListeners
                 Key: WICKET-4800
                 URL: https://issues.apache.org/jira/browse/WICKET-4800
             Project: Wicket
          Issue Type: Improvement
    Affects Versions: 6.0.0, 1.5.8
            Reporter: vineet semwal


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