Hi,
I need to store the state of my GWT app in the user's browser address
bar for bookmarking. For example, when visitors use my web app,
they'll be directed to:
www.mysite.com/index.html
where index.html hosts the GWT compiled app script. Now through my
app's interface, the user may create some sort of new item, like a new
chat room. This creates an entry in a database on another server, with
an ID of 1234 for example.
I'd like to immediately overwrite the url in the user's browser
address bar to store that ID, in case they want to bookmark or send
the link to a friend. I think it would look something like:
www.mysite.com/#chatroomid=1234
That way if some user loads my GWT app with that URL, in the entry
point module I can examine the URL and see if there are any stored
parameters in it - if there are, then for this example I could
immediately put them into chat room 1234.
I'm basically trying to do the same thing I'd do with PHP like this:
www.mysite.com/chatroom?id=1234
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---