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 fact that i'm trying to access it inside of a
function, which affects "scope" to some degree of course
Best,
Roger
On May 15, 2012, at 10:39 AM, Roger Studner wrote:
> 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 times, but now when I do
> this, I never can call "one JSNI method from another"
>
> Anyone :)? Bueller?
>
> Roger
>
> --
> 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.
>
--
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.