Hi,
I have a gwt web application which open in a modal popup. I want to
return a value back to opener page page this gwt application modal
window closing. I am $wnd.returnValue in IE but it not working, opener
page get value as undefined. Can some help what is wrong here.
See the following code-
Opener page- Alert pop shows return value as undefined.
<script>
var v = window.showModalDialog(gwtAppURL, "", "dialogHeight: 500 px;
dialogWidth: 500");
alert(v);
</script>
------------------------
GWT code- closing window using native code. closeWindow native method
is called from GWT code.
private native void closeWindow()/*-{
$wnd.returnValue = [email protected]::requestId;
$wnd.close();
}-*/;
--
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.