Use History tokens and construct your views accordingly. Each unique url
would have a unique history token. Your History listener then just needs to
construct views dictated by the value of the current history token. History
is also appropriate for users who might want to save a bookmark to a
particular view. You can also append params to your history tokens for
finite state control if so needed.

One thing to watch out for though is the back button because when you add a
history token it enables the back button. If you intend to allow your users
to use the back button then there is no problem. However, If it is a problem
then you will have to find another way to control how your user can navigate
to different views. One way to accomplish rendering different views without
History tokens is to include buttons or other such interface elements in
your views and when the user clicks on them their click event handlers will
render the appropriate views.

Jeff


On Tue, Nov 2, 2010 at 6:16 AM, Sreekanth Nambiar <[email protected]>wrote:

> Hi All,
>
>            Due to many reasons i need unique URLs to each page and i don't
> want to load all the panels and frames to the same page. How can i achieve
> this in GWT. I understand GWT talks about loading different panels on the
> same page and hiding and showing them as per requirement. That is good, but
> not always. So if i want unique urls and navigate to different pages whats
> the best way to do this in GWT.?
>
> Thanks
> Sreekanth
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
Jeff

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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.

Reply via email to