Hi, I have just taken a look on the link content, this seems quite useful.I will go through in details now.
Thanks for much needed stuffs floated on the web. Do you mean that we can not do xs-compile in hosted mode.We understand that we would have to test on different browser. The way i want to do is that we want to include nocache.js to our HTML stuffs and call a JNSI method to invoke GWT utilities. Please correct me if i am wrong in my understanding. Regards Manish ----- Original Message ----- From: "eggsy84" <[EMAIL PROTECTED]> To: "Google Web Toolkit" <[email protected]> Sent: Tuesday, November 18, 2008 3:09 PM Subject: Re: how to work with xs-linker in gwt 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 -~----------~----~----~----~------~----~------~--~---
