Render after init

Greetings,

I am wondering is it possible to render a page for instance with empty table, combobox, … and after that fill up these components with data? Our problem is that we’re filling up tables with data obtained from web services and the rendering phase is too long (cause delay between calling WS). So one of the solution could be a render empty components and then fill up these components with data.

So is there any afterRenderUI/Component listener or something like that?

Hi,

You could use polling: https://vaadin.com/wiki/-/wiki/Main/Using%20polling

Or, if you are using Vaadin 7.1 or newer, Server Push:
https://vaadin.com/book/-/page/advanced.push.html