Wednesday, May 28, 2014

Re: Why GWT app didn't fire when users click on the href link that have the domain that is the same as host domain?

InlineHTML myLink=new InlineHTML("<a href=\"  /MyProject.html?gwt.codesvr=!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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment