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/01/07 16:00:18 UTC

[jira] [Resolved] (WICKET-4919) AjaxLazyLoadPanel needs a method to add components to the AjaxRequestTarget when the component is rendered

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

Martin Grigorov resolved WICKET-4919.
-------------------------------------

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