Hi,
I have been trying out Vaadin for past couple of days to build a demo application. Its a simple application, with user login and then show some tabs.
My questions are:
-
When the users visits http://localhost:8080/DemoApp/vaadin, how to show a login window rather than the user clicking on a ‘Click to Login’ link (I am currently doing this) which then shows the login window with username and password textfields along with a button.
-
Next question is related to first one. So when user successfully logs in, I want to show a tabsheet. How do I remove/hide the Login window and show the tabsheet to the user after successful login.
I am able to remove the login window
by using
mainwindow.removeWindow(loginWindow);
but don’t know how to show the tabsheet/ or any other component.
Tips, sample code will be very helpful.
Thanks.
Cheers!
jAY