I have just started with GWT. I need to have 4 screens taking with one
another.
example..
1st screen: login screen. I need to validate user with backend table
and
depending on loggedon user I need to open 2nd screen in create mode
with all fileds
or 3rd screen with few fileds and readonly fileds.
How can I have multiple pages and navigation between the pages in GWT
web application? Do i need to create multiple entry points?
Regards,
Priya
Each page of the deckpanel can have your different screens on it, then
you can flick between them fairly easily.
You can do the following:
1. Create LogonPage.java class (here you create the Logon Page UI, you
can extends one of the GWT Panel Widget)
2. Create ControlPage.java class (here you again create the UI but for
Control Page, again extends one of the GWT Panel Widget)
3. Create ShowUpRoomPage.java class (an UI for ShowUpRoomPage and of
course again extends one of the GWT Panel Widget)
And the you can do this:
RootLayoutPanel.get().add (new LogonPage());
when you logon is successful and you are loading ControlPage:
RootLayoutPanel.get().clear();
RootLayoutPanel.get().add (new ControlPage());
and the same goes for ShowUpRoomPage....
Hope its help....
erha
On Jan 28, 9:19 pm, 4F2E4A2E <osoriojaq...@gmail.com> wrote:
> you i need something like:
>
> - loginpage >> control page > open a showupRoom (tab or new window for
> the fullscreen monitor or beamer)
>
> - crontrol page: set what have to be shown on the showupPage.
> - showupRoom: show whatever is have been set in the control page.
>
> And that should be possible for every user so that every user gets his
> own object/thread/showroom.
>
> But i find out that something like that is not possible with gwt...
> or is it?
>
> example:http://halbgasse.appspot.com