It's explained here:
http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#DevGuideJavaScriptNativeInterface
Right after the first example.

window = host page
$wnd = the nested iframe page where your scripts reside

>From the tutorial you cited, I'm not sure why it doesn't work when
using $wnd. Maybe the nested page can't write to the host page?

Cheers,

Darth

On Jul 20, 9:33 pm, mike <[email protected]> wrote:
> No response cause my question is dumb or did I get lost in the shuffle
> because I posted on Sat? I'm really curious about this... thanks
> either way. Peace, Mike
>
> On Jul 18, 12:35 pm, mike <[email protected]> wrote:
>
>
>
> > The JSNI section of the dev guide uses the $wnd notation:
>
> >http://code.google.com/webtoolkit/doc/1.6/DevGuideCodingBasics.html#D...
>
> > But then in the cross-site commication tutorial 'window' is used.
> > Additionally I can't get the sample code to work using $wnd. See:
>
> >http://code.google.com/webtoolkit/tutorials/1.6/Xsite.html
>
> > What's the trick here? Are there some scenarios where you use $wnd and
> > other where you use window? How do you know when to use which?
>
> > Thanks, Mike
--~--~---------~--~----~------------~-------~--~----~
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