Reputation: 133
I'm new in Vaadin. I did vaadin example http://demo.vaadin.com/addressbook/. My question is how I can also create another views and menu which will navigate user. Can I do it with MenuBar? Please explain me right way to do this.
Upvotes: 2
Views: 1446
Reputation: 8731
I think everything you need is Navigator.
You can instantiate a navigator and attach it to your current page. Then you attach views to it, with names.
And when you want to change view, you can simply call Page.getCurrent().getNavigator.navigate(String viewName)
See documentation for more informations.
Upvotes: 2