You still need to use JSNI for accessing these properties. Depending on the
API you want to build you could define @JsOverlay methods inside
@JsType(native = true) classes and let them delegate to a JSNI based
utility class.
-- J.
--
You received this message because you are subscribed to the
Does any one know (/has easy receipts for) how to replace the following
JSNI code with JsInterop code :
*public static native String getJSVariableAsString(String jsVarName) /*-{*
*return $wnd[jsVarName].toString();*
*}-*/;*
*private static native boolean isJSVariableDefined(String jsVar
Old window.showModalDialog returns a value into opener (parent window).
Because this application is old and uses a lot of
window.showModalDialog which belongs to IE built-in javascript function.. I
need to write window.showModalDialog replacement for Chrome and some mobile
devices. I do appreci
> I haven't managed to find any further info here... suppose I'll regard
> GWT.runAsync() as "broken" avoid it going forward.
>
I don't think its generally broken, otherwise lots of people would complain
about it, myself included as we use code splitting at work. Does your app
use a custom GW
I haven't managed to find any further info here... suppose I'll regard
GWT.runAsync() as "broken" avoid it going forward.
--
You received this message because you are subscribed to the Google Groups "GWT
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an ema
I normally use a custom DialogBox
(
http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/DialogBox.html
), since it is within-document, I can do whatever I need to in it
(validation, Widgets, prompt for input using a custom widget, etc.), and it
doesn't block other tabs.
On
I am using GWT to improve an existing web site written in ASP. This site
has a lot of window.showModalDialog. It needs to run in Android phones too.
The window.showModalDialog has been disabled by Chrome it is giving me
error as "undefined is not a function". I can use window.open to replace
it