See the History class, and the HistoryListener interface:

http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/History.html

On Fri, Nov 28, 2008 at 11:34, cristian.vrabie <[EMAIL PROTECTED]>wrote:

>
> Hi guys!
>
> It is nice to alter the url with the content so we can always come
> back by just accessing the url. I'm sure you know that to do this
> without actually reloading the page you can append #parameters. For
> example changing from
>
> http://mypage.com/product#id=4 to http://mypage.com/product#id=53
>
> would not reload the page because it's basically the same, but can
> show different content by parsing the id parameter from the url.
>
> My question is if there's a way to listen to a URL change? The only
> think I've come up till now is to periodically check for a change in
> the url, but that's always a bad move. Any ideas?
>
> Thanks!
> Cristian
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
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