I do this type of thing also. For us it comes down to packing the deployments correctly.
We have multiple client applications in the same gwt project (we use eclipse). We then have a gwt xml file for each. During our build process we build each of the applications separately and the last step of the process creates a war with the client apps and server classes. We then have different html entry pages for each app. If you want 1 entry page,the other option is to use deferred binding and use a different main module with the entry point for each different platform. One for desktop browsers (the default one) and a different one for the iPhone which would then be overriden in the gwt.xml. Since I haven't done this before, I'm not sure if the entry point can be replaced, but it should be possible - even if all the main entry point does is call another class that can be deferred bound. Chris... On May 27, 7:57 am, Paul van Hoven <[email protected]> wrote: > I've developped a GWT app which runs fine. Now a special version for > the iPhone of my website is needed. So far i know gwt runs well on the > iPhone. But i have a problem. > > On the Desktop-Page the user has the full functionality of my webapp. > But on the iPhone he should only be able to use certain functions due > to simpler navigation. Both pages use the same business logic on the > server. Only the view is different. > > I thought of this approach: > If the user comes from a desktop my initial servlet will dispatch him > to the desktop version of my site > If the user comes from an iphon my initial servlet will dispatch him > to the iphone page > > The problem: i do not want to combine the iphone version and the > desktop version since then the user would have to load both apps > although he would only use one part at a time. > > Therefore i want to split up both parts. What is the best approach for > this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
