Web X.Y

Tips and tricks for development with Java, Python, Django, the Google Web Toolkit, and Linux.

GWT: Java method calls from Javascript Native Interface (JSNI) with multiple parameters December 8, 2008

Filed under: GWT — adambossy @ 6:58 am
Tags: , , ,

Because the GWT tutorial doesn’t give a clear example.

handler.@com.healthySoftware.client.controlPanel.SaveButton::handleJsonResponse(Lcom/google/gwt/core/client/JavaScriptObject;Lcom/google/gwt/user/client/ui/Panel;)(jsonObj, panel);

Advertisement
 

One Response to “GWT: Java method calls from Javascript Native Interface (JSNI) with multiple parameters”

  1. maykel Says:

    That ‘s ok?????

    layer.onStart = function(feature, pixel){handler.@com.eg.gwt.openLayers.client.control.DragFeatureHandler::onStart(Lcom/eg/gwt/openLayers/client/JSObject; Lcom/eg/gwt/openLayers/client/JSObject;)(feature, pixel);};


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.