Hey! I have the following scenario, I would like to know the best way to resolve it.
I have the configuration described on the title, Vaadin 7, SpringBoot, and a Navigator defined on the main UI class with a toolbar with buttons to switch between views.
On View #1 ) A list of items are retrieved from the database and are shown in a ComboBox.
On View #2) Users can create new items and these are persisted on the database.
When I first enter to my application, the @PostConstruct init() method is called on View #1, and the items from the database are loaded.
The problem is that when I create new items on View #2 and then I enter View #1, it does not show the items recently created on View #2, because it does not enter again the init() method (which loads the items from database)
What would be the best way to resolve this?
Thanks in advance!