TabPanel or your own styled Anchors usually do the job. If your individual
tabs need to be represented by urls ( i.e to bookmark them) then you may
want to consider one of the MVP techniques to capture a url change. In Gwt
this is generally done by using the same url ( so as not to incur a new
page request from the web server) and adding a "#" token at the end
followed by a place identifier.
For example http://server/myentrypoint#tab1
http://server/myentrypoint#tab2
However if you must go back to the server for each page :
http://server/tab1
http://server/tab2
You can still configure gwt to bootstrap to the same entry point for
multiple pages ( again look at mvp examples with code splitting). The
downside here would be that you'd lose client state on each page request.
However a lean entry point with proper code splitting should ensure a fast
load of the page. This is also a great way to introduce gwt to a legacy
j2ee servlet application.
On Thursday, August 30, 2012 10:00:43 AM UTC-4, 4x4is18 wrote:
>
> Hey,
> we want to use multiple tabs in a GWT Project. Is there a way to implement
> this? We want use ClientStorage for the session tracking. We need more than
> one HTML page because we have a user- /gamemanagement, and for every new
> game thats started we need a new tab. The user can start more than one
> game. TabPanel is maybe a alternative.
>
> Sorry for my bad english :(
>
> Greetings 4x4
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/2jD4H7vAavsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.