I\'m trying to implement an automatic refresh on a List of components in a Vaadin view. The list gets its contents from a database. I can refresh the list with a button, that is
You could do so that you call
myUI.setPollInterval(300000);
when the view is activated, and you disable it by calling
myUI.setPollInterval(-1);
when another view is activated. If you use Vaadin Navigator, then you could use ViewChangeListener for handling the polling.
ViewChangeListener