Paul C created WICKET-4919:
------------------------------

             Summary: AjaxLazyLoadPanel needs a method to add components to the 
AjaxRequestTarget when the component is rendered
                 Key: WICKET-4919
                 URL: https://issues.apache.org/jira/browse/WICKET-4919
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-extensions
    Affects Versions: 6.3.0
            Reporter: Paul C


A component may need to update other components on a page when lazy load 
completes in same RequestCycle.  For example,  a component takes 5 seconds to 
load and then a feedback panel on the page needs to be updated summarizing the 
state of the lazily loaded component.

It would be intuitive to use if there was a method like:

public void onComponentLoaded(AjaxRequestTarget)

It may be possible to override getLoadingComponent(String markupId)  get to the 
AjaxRequestTarget but I was not able to do this for my test.  It may also be 
possible to override handleCallbackScript(IHeaderResponse response, String 
callbackScript) but that would require another round trip to the server. 

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