Thanks a lot Thomas, this was really helpful!  HostedMode -noserver
makes a lot more sense to me now.  Now, off to experiment...

~Carver

On Jun 26, 6:00 pm, Thomas Broyer <[email protected]> wrote:
> On 26 juin, 19:27,Carver<[email protected]> wrote:
>
>
> > How is it possible for Hosted mode to intercept the loading of
> > the javascript module, if the embedded server can't filter the
> > traffic?
>
> The <module>.nocache.js will be loaded from Apache, and it contains
> some code that will detect it's running inside Hosted Mode, so it
> won't request any *.nocache.html file; it'll load hosted.html instead,
> which in turn contains some code to "connect" to the Hosted Mode.
>
> I don't know how it's supposed to work exactly in OOPHM (I'm not yet
> using it, though I have worked a bit on an Adobe AIR OOPHM six months
> ago) but my understanding is that it's the same: the
> <module>.nocache.js will see the gwt.hosted= in the query string and
> will then use hosted.html instead of a *.cache.html; hosted.html will
> then load the OOPHM browser plug-in which will connect to HostedMode.
> Same as HostedMode without OOPHM except that it uses a browser plug-in
> instead of the special window.external.gwtOnLoad that's injected into
> the embedded browser.
>
> Of course, for this to work, the app that is deployed on your Apache
> server must have been compiled with GWT trunk so it has the proper
> <module>.nocache.js (which knows about OOPHM) and hosted.html (to load
> the OOPHM plug-in instead of relying on window.external.gwtOnLoad)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to