Multi url GWT app

2010-12-16 Thread Andrey
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

Re: Multi url GWT app

2010-12-16 Thread Subhrajyoti Moitra
Hello, I think GWT is more suited for a single page application, where in the same page gets refreshed with different contents. For the dynamic pages u can use the #!request, #!price, etc.. in the URL to load different contents. Leave the static pages as is, just link these 2(static and GWT app)

Re: Multi url GWT app

2010-12-16 Thread Jerome C.
in my case, I've got several url but only one GWT module. I put a javascript argument in the page (this is your server which put it in the html page). This argument is read by my gwt module and I've got a switch block to instanciate one widget which correspond to my page. With this method, its

Re: Multi url GWT app

2010-12-16 Thread Jim Majure
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

Re: Multi url GWT app

2010-12-16 Thread Ian Bambury
Just a quick correction: You can have as many entry points as you want. Ian On 16 December 2010 12:52, Jim Majure jim.maj...@gmail.com wrote: Each module can have at most 1 entry point. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: Multi url GWT app

2010-12-16 Thread Brian Reilly
Check out gwt-multipage (http://code.google.com/p/gwt-multipage/). It works using a single entry point configured in the module XML and can dispatch to other entry points based on a URL pattern or javascript token (pretty much exactly what Jerome posted). -Brian On Thu, Dec 16, 2010 at 8:15 AM,