Just wondering about how to go about implementing a history mechanism
(using Activities and Places) for URLs with multiple arguments.  For
example, lets say I want a book search url (call it BookSearch) to be
bookmarkable and have multiple arguments.  In a traditional web app
the URL may look like BookSearch.php?
title=xxx&author=yyy&publisher=zzz.

One idea I can see is to make the place token the entire argument
list.  So, in the above case it would look like:
title=xxx&author=yyy&publisher=zzz.  Then I could parse each arg (are
there any tools in GWT to help with this?).

Another idea would be to create a separate token for each argument.
The place class may look like this:

public class BookSearchPlace extends Place
{
        public BookSearchPlace ( String title, String author, String
publisher )



-- 
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 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to