Icepush and custom layouts


I’m creating a UI with Vaadin and I need to use Icepush with a custom layout. Is this possible?

If it is possible, do we need to create an entry for the pusher object in the html we use to define the custom layout? Or can you add icepush in a similar way as you would to, say, a GridLayout?

Thanks in advance!

The pusher is added as a component to the window, in addition to your custom layout. The background code invokes your pusher. Presumably, you are setting values in your custom layout from some other thread, and then you want those reflected in the browser. That does indeed work. All the pusher does is tell the browser to come back fetch the updates that are waiting.