D'Oh! Looking at the FAQ, I found this, which answers my question: http://code.google.com/support/bin/answer.py?hl=en&answer=75695
On Mar 30, 9:56 am, tlep <[email protected]> wrote: > Hello, > > I've been working on a GWT client-side class, for example > > class Foo { > > public void sayit() { > Window.alert("Hello"); > } > > } > > now I have a JSNI function: > > public static native void doSomething(JavaScriptObject obj) /*-{ > > // call the Foo.sayit() method here > > }-*/; > > When Foo is cross-compiled into javascript, how is it referenced when > passed into a native JS function? > > Thanks in advance for help! -- 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.
