Views and Subviews

Hi all, I’m trying to figure out how to create views and subviews using MVP pattern and Navigator. Is there any documentation, example or demo on this?

There is a login view and main view. Main view has left navigation and and content area. On navigation the views on the content area should change.

Thanks.

You could have a look into the archetype-application-example.

This is simplest if you create an application with maven using the command
mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-application-example -DarchetypeVersion=7.4.6

Or then the sample source code can be found from:

https://github.com/vaadin/archetype-application-example/tree/master/mockapp-ui/src/main/java/org/vaadin/mockapp