Im doing the exakt same thing
Here is what you need to do:
1. have you gwt app expose a function as javascript e.g.:
private native void expose()
{
$doc.exposedfunction = function()
{
[EMAIL PROTECTED]::functionname()();
}
}
2. Have the code inside the frame call this javascript function and you are
done
you might want to take a look into the JSNI interface there
2008/10/9 freeall <[EMAIL PROTECTED]>
>
> Hi.
>
> I am loading some javascript+html into a Frame widget. I would like
> this code to perform a callback to the GWT application. Right now I am
> trying to do an AJAX call to
> http://myserver:8080/SomeGWTPage.html#docallback?foo,
> but this just loads the SomeGWTPage.html and returns the result.
>
> I think I understand why this happens. The code in the Frame widget
> don't send the callback to the browser, but creates a new connection
> to myserver:8080. So GWT will never be called.
>
> Is there any way to perform this callback to the GWT application?
>
> /Tobias
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---