Here's what I usually do to transition between "pages" in GWT. It may or may not be what your looking for.
I first clear the Rootpanel, then add to the panel another class which acts like another page. Here's a example: public class Example implements EntryPoint { public void onModuleLoad() { final Button nextButton = new Button("Go to another page"); //Activates if the button is clicked. nextButton.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { RootPanel.get().clear(); RootPanel.get().add((IsWidget) new Page()); } }); } } public class Page{ public Page(){ //Heres your new page. Anything you add to the RootPanel will show up on the screen. //In your case you will probably want to re-add the menu here first. } } On Mon, Jul 25, 2011 at 9:36 AM, Nandha <nandha1...@gmail.com> wrote: > Hi, > Requirement : More pages . navigation using menu > > am using menu for navigating from a page to page.. > In this I created a rootpanel with a content panel . > i added two pages inside the content panel.. one with visible and > another with hidden.. > On click of the menu both are interchanging by show() and hide() > functions... > but the sub components are not showing with the proper height and > width > Doubt is : Is the correct way for creating more pages with menu.. > > or is there any way for creating more pages in a single GWT project > .. > Note : In my project there is only one html file and only one > entrypoint > > Is there any other way... > > Am feeling we can make more html files.. > Can anyone help me for that and guide me a way to work with menu for > navigation > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to google-web-toolkit@googlegroups.com. > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.