It's rather straight forward and the nice thing is that you can start your app in different way's, by inspecting the url it was started way. Example: I change my landing page on the client side, depending on the url. Compare www.leuker.nl and www.leuker.nl/trainmore or www.leuker.nl/flks (all same app, just showing other content that have stored in xml files).
Anybody, first you need to ensure you all url's end up in the index.html. I apache config, I did that through some rewrite rules:
RewriteRule ^$ - [NC,L] RewriteRule ^index.html - [NC,L]
RewriteRule ^resources/ - [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.html [NC,L]
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment