In the help window, you call a JSNI method to set up a functuin which
calls the GWT method in the ordinary JSNI way ('@' -signs <'@'%20-signs> and
'Ljava/lang/String' and all the rest), then in the owner of the help window
just use helpwindow.myMethod(parm1, parm2,...)

I've just tried it (after a bit of faffing about) and my popup blocker
didn't block it (since I clicked a button, I suppose) but it does open up in
another tab, which probably isn't what you want. And if you open a new
window, then working in the original window means the help window gets
covered. Unless the two don't overlap (but in that case, you have room to
resize the window for a dialogbox or splitpanel)

Ian

2008/8/27 Ed <[EMAIL PROTECTED]>

>
> Thanks again Ian,
>
> That's something never completely understand that popup blocker
> stuff...
> I mean: i have blocked popup's but even something I press some button
> and a new browser window opens...
> How is that ?
> If somebody presses a button, he is requesting for a it, so I can open
> it not ?...
>
> > Then in JSNI just refer to it as 'helpwindow', as in
> > helpwindow.moveTo(0,0);
>
> How can I call a gwt method in the new window ?
>
>
> >
>


-- 
Ian

http://examples.roughian.com

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