Re: How to pass javascript maps between Java and javascript

2009-07-17 Thread Gert Scholten
On Jul 17, 10:21 pm, byhisdeeds wrote: > I have a GWT application with a JSONObject which must be passed to a > javascript function which will make some calculations, which will then > be returned to the calling GWT app. > > ie: > > JSONObject json = new JSONObject(); > json.put("x", 2); > json.p

How to pass javascript maps between Java and javascript

2009-07-17 Thread byhisdeeds
I have a GWT application with a JSONObject which must be passed to a javascript function which will make some calculations, which will then be returned to the calling GWT app. ie: JSONObject json = new JSONObject(); json.put("x", 2); json.put("y", 5); JSONObject result = process(json) Window.ale