Hi Lupan, There is nothing immediately obvious to me that would explain why the DynaTable sample would work in web mode, but not in hosted mode. Did you make any changes to the DynaTable sample application code before running ant hosted? I just tried running the DynaTable sample out of the box using GWT 1.6.4 on WindowsXP and I was able to run it in both web mode and hosted mode.
Which platform are you running on, and what JDK version are you running the samples with? There have been some known issues with using JDK 6 on the Mac platform because of incompatibilities between the 64-bit JVM shipped in the JDK and the 32-bit SWT bindings used in GWT hosted mode. To answer your question about whether the bootstrap script (.nocache.js file) is used during hosted mode - yes, it is needed to run a GWT application in hosted mode. The same file is also necessary when running in web mode. Hope that helps, -Sumit Chandel On Thu, Jun 18, 2009 at 11:33 PM, Lupan <[email protected]> wrote: > > Hi everyone! I'm a newbie to GWT and I'm trying to run the > samples that come with the 1.6.4 distribution. I've tried the > DynaTable example on the GWT_HOME/samples/DynaTable with the comand : > ant hosted . > > The outcome was the Logging console and hosted mode browser popping > up, however, only the HTML Host page content is shown in the hosted > mode browser. In this particular example, none of the tables and ajax > controls generated by GWT apear, just a white page with the static > content. > > When I hit the Compile/Browse button to let it run on the real browser > everything works fine. All other examples and generated projects I > tried have the same behavior, the GWT kicks off only in the real > browser, the hosted mode one just shows the HTML host page static > content (as if the nochache.js is not being taken into account, is it > used in this situation?). > > So I would like to know what I need to do in order to make the Hosted > mode browser behave normally like the real ones, allowing me to debug. > > Sorry If this is a dumb question, as I said I'm just getting started. > Thank you very much ! > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
