InlineHTML myLink=new InlineHTML("<a href=\"http://127.0.0.1:8888 /MyProject.html?gwt.codesvr=12
7.0.0.1:9997#!cust;custID=2\ " > cust2 </a> ");When clicking on
cust2
, the url changed from#!cust;custID=1
to#!cust;custID=2
& just stayed there, it did not refresh the whole page or fire the page as It did in the "car" link example.
Thats how browsers work. If you only change the hash fragment then there is no need to reload the page. However your GWTP app should probably detect the hash fragment change and go to the new location in your app (but still without reloading the app).
-- J.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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