Multiple view classes in Vaadin

I'm a newbie in Vaadin, and I've just wondered how can I use multiple View classes? I mean, without nested classes. For example this code without nested classes, like a nice, clean object orientated program code.


Solved after a few hours :) So if you want to navigate to another view class WITHOUT nested classes, then you have do something like this:


Of course first of all you have add the View to the navigator container in the init method:

MainView main = new MainView();

Hope somebody can use this hint wisely :)

Need Your Help

XCode not seeing python modules

python xcode pythonpath

Let me start by saying that I'm fairly new to Xcode, OS X, and installing python modules.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.