public static native void methodA() /*-{
var that = this;
something.bind("hi", function () {
th...@my.pack.age.FooBar.methodB();
});
}-*/;
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this di
methidB() should be methodB()
Sincerely,
Joseph
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/DsEzrdRnO4IJ.
To post to this group, send emai
For some reason I was thinking/hoping that a "JSNI to JSNI call" wouldn't use
the evil syntax.
Thanks Thomas!
Roger
On May 15, 2012, at 11:16 AM, Thomas Broyer wrote:
>
>
> On Tuesday, May 15, 2012 4:39:48 PM UTC+2, Roger wrote:
> Okay, losing my mind on something trivial.. if I have
>
>
On Tuesday, May 15, 2012 4:39:48 PM UTC+2, Roger wrote:
>
> Okay, losing my mind on something trivial.. if I have
>
> public class FooBar {
>
> public static native void methodA() /*-{
> FooBar.methodB();
>
@my.pack.age.FooBar::methodB()();
See
https://developers.google.c
Okay, not quite a complete enough example:
public class FooBar {
public static native void methodA() /*-{
something.bind("hi", function () {
FooBar.methodB();
});
/*-};
public static native void methidB() /*-{
$wnd.alert("hi!");
/*-};
that is more accurate (the fa
Okay, losing my mind on something trivial.. if I have
public class FooBar {
public static native void methodA() /*-{
FooBar.methodB();
/*-};
public static native void methidB() /*-{
$wnd.alert("hi!");
/*-};
}
this should work? I feel like i've done it 1000