Each module can have at most 1 entry point. If you don't want to have multiple modules, then you need to get the page URL in the onModlueLoad method and construct the UI appropriately. The Window.Location gives access to the browser's Location object.
Keep in mind that you're trading compile time for runtime efficiency. If you put all of the UIs in a single module, then they are all loaded in each page, even though only 1 is used. It might be worth the extra build time to make sure your users are happy. On Dec 16, 2:27 am, Andrey <[email protected]> wrote: > Hello! > > Consider we have a web site with static pages like: > /index > /products > /contacts > ... > > And we want to add dynamic GWT pages like: > /request (a request form) > /register (register form) > /price (price calculator) > ... > > What is the best way to perform this? > > I don't want to create a separate GWT module for every url because it > takes too much time to compile them all. > > Thanks in advance! -- 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.
