Saturday, September 25, 2010

Re: GWT Hosted on another domain

Hi, Gaurav.

Have you tried using the cross-site linker?
<add-linker name="xs"/>

http://code.google.com/intl/en/webtoolkit/doc/latest/FAQ_Server.html#What_is_the_Same_Origin_Policy,_and_how_does_it_affect_GWT?

Also, when using your GWT application cross-site, you won't be able to
use the GWT built-in RPC without special plugins.

On 24 сен, 21:26, masterGaurav <gaurav.va...@gmail.com> wrote:
> 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 inwww.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