Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.3.0
-
None
Description
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.