hi, everything's possible ;) there is no problem about that, you've
just to keep in mind that you're not going to talk against the API
you've coded in java. for those purposes you have ability of writing
JSNI methods to communicate with JS world directly. If you want to
call your GWT code from the JS world you can export your methods
written in GWT,

like so:

//this method you want to call from your parent JS code...
public void myGwtMethod() {...}

//then you can export it to JS namespace
public native void export_myGwtMethod() /*-{
 $wnd._myGwtMethod = function() {
  return th...@youfullqualifiedclass::myGwtMethod();
 }
}-*/;

and later you can just call it from your parent window:

[gwtWindow]._myGwtMethod()();


btw: there is a GWT library which make exposing GWT api to js
namespace easily, take a look at http://code.google.com/p/gwt-exporter/
On 1 Dez., 19:33, Ben <ben.falc...@gmail.com> wrote:
> Hi -- Anyone ever launched a GWT app from a regular HTML page (into a
> new browser window - e.g., window.open('welcomeGWT.html') ), then
> communicated with that same new window later from the launching parent
> window javascript?  How would I send the GWT app page a message (e.g.,
> to tell it to display something new)?.. and how would I implement a
> callback on the GWT side to act on the message, if this is truly
> possible?
> Thanks for URL's or any info..

-- 
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-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to