How to execute code just before request end ?

Hi,

I have a page with lots of components that are linked together (change to one may trigger change to another). Some are visual others not. I wish to hook a kind of “before request end” callback so I can trigger a refresh of data using final state of components.

Thanks

Stephan

Ok, I just found UI.getCurrent().beforeClientResponse(...). Maybe it will do the job. I just have to be sure to not add the same task multiple time.