Re: JSNI: window vs $wnd

2009-07-22 Thread mike
Cool, thanks again for the help. I am confused by the last paragraph but I think it's because you're looking at the code at the first URL rather than the second one: http://code.google.com/webtoolkit/tutorials/1.6/Xsite.html The code at that URL uses 'window' instead of $wnd. So I think this

Re: JSNI: window vs $wnd

2009-07-22 Thread Thomas Broyer
On 22 juil, 20:28, mike mikebannis...@gmail.com wrote: Cool, thanks again for the help. I am confused by the last paragraph but I think it's because you're looking at the code at the first URL rather than the second one: http://code.google.com/webtoolkit/tutorials/1.6/Xsite.html The code

Re: JSNI: window vs $wnd

2009-07-22 Thread mike
Got ya. Thank you for the hand holding. Much appreciated. -Mike On Jul 22, 6:01 pm, Thomas Broyer t.bro...@gmail.com wrote: On 22 juil, 20:28, mike mikebannis...@gmail.com wrote: Cool, thanks again for the help. I am confused by the last paragraph but I think it's because you're looking at

Re: JSNI: window vs $wnd

2009-07-20 Thread mike
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 mikebannis...@gmail.com wrote: The JSNI section of the dev guide uses the $wnd notation:

Re: JSNI: window vs $wnd

2009-07-20 Thread Darth
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

Re: JSNI: window vs $wnd

2009-07-20 Thread mike
Darth, ...ahh, great thanks. I got to $wnd to work for code in the cross-site communication tutorial. I think the problem was that I was using document and $wnd rather than $doc and $wnd. I haven't completely worked out in my head why the former wouldn't work but it seems sensible that you would

Re: JSNI: window vs $wnd

2009-07-20 Thread Thomas Broyer
On 20 juil, 22:26, mike mikebannis...@gmail.com wrote: Darth, ...ahh, great thanks. I got to $wnd to work for code in the cross-site communication tutorial. I think the problem was that I was using document and $wnd rather than $doc and $wnd. I haven't completely worked out in my head why