Hi Ricardo, I would suggest looking at navigation more like a Swing or other desktop app rather than a page-centric traditional webapp. In a typical Swing app you would probably write a "launcher" class that has a main() method which constructs your application's window and populates it with a menu, status bar, and one or more content panels. Your EntryPoint is like that launcher. When the module loads, your EntryPoint would create the login screen. Your login probably calls a GWT-RPC service and then on success your callback will hide/destory the login page and show your other content. Alternatively, you might be looking to include history support in which case your callback probably just sets a new history token and then lets your history handler set up the new "page." Check out the samples that come with the GWT SDK download for some ideas of how that all works.
> How can I start a module? Your HTML page will include a <script> tag that bootstraps GWT and loads your module. If you create a new GWT project using the Google Plugin for Eclipse then it will have a working example of a simple module, including an HTML page that loads the module. The samples that come with the SDK are another good resource, as is the documentation at the following URL. Docs: http://code.google.com/webtoolkit/overview.html Hope that helps. Let us know if you have any more questions. - Isaac On Sun, Dec 13, 2009 at 8:41 PM, Ricardo do Valle Flores de Oliveira <[email protected]> wrote: > Dear all, > > I began to study GWT a two day ago, just reading and making some tutorials, > and have a stupid doubt, how to construct the structure of site? > I want to construct a simple site with a login screen and while someone hits > the correct username and password, the site goes to another pages with a > google maps (supposed). > My doubt is: How can I links this and other things? Because in the > EntryPoint class there is just one onModule Load. > Have I to construct all the things in modules and call this modules? > How can I start a module? > I am very confuse. > Thanks > Ricardo do Valle Flores de Oliveira > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
