Hi Jennifer,
The xs linker is useful when you want to load up a GWT application in a
cross-domain fashion. So, for example, if your host HTML page is living on
foo.com and you wanted to load a GWT application whose JS files reside at
bar.com, you could do so if the GWT application files were generated with
the xs linker to emit the cross-site bootstrap script.

In the case of what you're trying to do, you're right in that the xs linker
probably won't be much help to you. What would help you is to make sure
you've exposed the GWT methods you want to call in such a way that you can
invoke them from your registerPage() function. So, for now, could you
explain how you're making calls to your GWT methods from the registerPage()
function? Also, how are these function calls failing in the current setup?
What error messages do you get?

Hope that helps,
-Sumit Chandel

On Tue, Mar 10, 2009 at 3:08 PM, Jennifer <[email protected]> wrote:

>
> My use case is this: I have a parent frame with navigation menus
> implemented in GWT and a content iframe that can contain pages from
> different sub-domains.  The pages in the content frame call a non-GWT
> Javascript function in the parent frame called registerPage().  The
> registerPage() function then calls functions that have been defined
> from within my GWT app in that frame.  The GWT app and the parent
> frame HTML are both on the same server.
>
> Being able to call top.registerPage() from my content iframe should be
> as simple as setting document.domain in both frames, but this causes
> problems with GWT.
>
> I'm pretty sure that the xs linker is useless to me in this case.  If
> not, I sure haven't been able to find anything documented that tells
> me how to get it to work - everything I read says to set the linker
> and you're set, there's no more to it.  I can't even find good
> documentation telling me what cases it's supposed to work for.
>
> So is there anything I can do for getting cross-frame, cross-sub-
> domain scripting working with GWT in the mix?
>
> Thanks for any help,
> Jennifer
>
> >
>

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