Friday, September 24, 2010

GWT Hosted on another domain

Hi,

I am working on a SAAS based application where-in the final GWT
application will be hosted on ours servers but can be used from other
domains.

I am finding this implementation going haywire... here's how I am
currently doing it:

- The final module.nocache.js along with some custom code is embedded
in application website.
So, something like <script src='http://www.saas-domain.com/
module.nocache.js'></script> is pasted in the html code in www.my-biz-domain.com

The problem that I am facing is that even though the JS loads fine, it
loads the final compiled JS in an iframe which cannot interact with
its parent because of cross-domain stuff. So, $wnd and $doc don't
work. The module load fails completely.

Any help to resolve this problem will be appreciated.


-Gaurav

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment