Also I don't think (at the time of writing) that GWT hosted mode
browser has Cross Site mode functionality so you may have to keep
compiling your widget and testing within a browser. Or simply set up a
test environment (tomcat locally or something) on your local machine.



Eggsy




On Nov 18, 9:25 am, eggsy84 <[EMAIL PROTECTED]> wrote:
> Hi there
>
> To compile the application for Cross site you simply add <add-linker
> name="xs" />
> to your gwt.xml file.
>
> In GWT 1.5 this now doesn't create xs-nocache.js it simply creates the
> javascript as normal but it will be the xs version. (Took me a while
> to realise this as well)
>
> I had to do the same thing for a client and make a widget that could
> be deployed on various machines - I wrote a quick tutorial with links
> here
>
> http://eggsylife.blogspot.com/2008/10/gwt-and-cross-site-jsonp-in-j2e...
>
> Hope this helps
>
> eggsy
>
> On Nov 18, 8:49 am, "Manish Kumar" <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > While working to make a call to GWT from a eternal HTML using JSNI method , 
> > I am trying to compile our code using xs-linker.
>
> > I don't understand why this does not work. I made an entry in for xs-linker 
> > in -gwt.xml then compile the our code in hosted browser.
> > Can anybody please hint me what I am missing?
>
> > One more thing I would like to confirm with all of you about my approach.
> > My sole purpose is to add our compiled javascript code to HTML( external ) 
> > at any location. The way I expected is that my JSNI method will be 
> > available in xs-nocache.js (included in HTML).
>
> > Can anybody please confirm on this?  
>
> > Regards,
>
> > Manish
--~--~---------~--~----~------------~-------~--~----~
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