Hi, first you should define how your web application is layouted, are you using single-page with dynamically loaded/generated content (use GWT History mechanisms https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsHistory). Or perhaps you are using multi-page layout and GWT as a supporting script same on all pages, then you should be fine with standard HTML way with a single module. Or you may have multiple pages with different behavior, then multiple modules may be a solution but it could generate a lot of shared code downloaded multiple times, I would suggest using some form of code splitting ( https://developers.google.com/web-toolkit/doc/latest/DevGuideCodeSplitting?hl=en), each code fragment may be initialized based on URL or JS call directed to GWT through JSNI ( https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI?hl=en). If you are just trying to open another page by script use http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/user/client/Window.Location.html replace function.
Hope it helps and that I understood your problem. On Tuesday, April 23, 2013 8:10:35 AM UTC+2, Raghu rao wrote: > > Hi, > > I am new to GWT and i want to know how to navigate from one page to > another page in GWT.Currently am trying in the below format. > > First Step : Creating different .gwt module > Second step : Creating html file and mentioning the id name. > Third Step : Creating the Client java file and mentioning the id name(html > file id). > > am not getting any error in the server console and the new page is not > loading.. Pls suggest on this.if any body have a sample code pls share. > > thanks > RaghuNandan > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
