GWT: Loading different UI's based on URL
Posted
by jmccartie
on Stack Overflow
See other posts from Stack Overflow
or by jmccartie
Published on 2010-05-26T20:26:12Z
Indexed on
2010/05/27
7:31 UTC
Read the original article
Hit count: 193
Trying to get a GWT project off the ground and finding it difficult to do any basic routing.
Trying to fire up different UI's based on the URL. Thought I could set a string based on the getHash() and then switch off that, but seems cumbersome (and annoying since I can't do string-based switches in Java).
There's got to be a best practice for this. I know Gerrit uses hashes for determining this type of information but couldn't find where they do it in the source.
Or is this totally not GWT-related? Something I can handle in web.xml?
Any help is much appreciated.
© Stack Overflow or respective owner