On Monday, April 2, 2012 10:26:27 PM UTC+2, Geoffrey Wiseman wrote:
>
> I have a piece of GWT code that I wanted to invoke from outside
> handwritten JavaScript. There's an example shown here under "Calling a Java
> method from Handwritten JavaScript":
>
> https://developers.google.com/web-toolk
At first glance it seems like:
"PreviewPane::imageSelected(Ljava/lang/String;Ljava/lang/String;))"
takes two arguments, in this case two Strings. The JSNI error seems to
indicate that you are not passing the two arguments as per the method
signature. I would think that you would end up with somet
I have a piece of GWT code that I wanted to invoke from outside handwritten
JavaScript. There's an example shown here under "Calling a Java method from
Handwritten JavaScript":
https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI
That example uses a static method; I can