Re: [S2] Customizing Struts JSON Plugin response

2009-01-30 Thread Musachy Barroso
search for JSONP in the plugin documentation. musachy On Fri, Jan 30, 2009 at 5:25 AM, alee amin wrote: > I am using JSON plugin in Struts 2 for writing a resoponse. the plugin is > generating the response perfectly. however, this is Google Visulization API > demand that there should be a string

[S2] Customizing Struts JSON Plugin response

2009-01-30 Thread alee amin
I am using JSON plugin in Struts 2 for writing a resoponse. the plugin is generating the response perfectly. however, this is Google Visulization API demand that there should be a string wrapping the JSON response. like the one mentioned below. > google.visualization.Query.setResponse(JSON RESPONS

RE: [struts] JSON plugin

2008-03-13 Thread Stanley, Eric
Musachy, That seems to work. I now see the proper response when I call response[0].name. Thanks. -Ryan -Original Message- From: Musachy Barroso [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 3:45 PM To: Struts Users Mailing List Subject: Re: [struts] JSON plugin If

Re: [struts] JSON plugin

2008-03-13 Thread Musachy Barroso
t; + data); > }, > timeout: 1, > }; > dojo.xhrPost(kw); > > -Ryan > > > -Original Message- > From: Dale Newfield [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2008 3:28 PM > To: Struts Users Mailing List > > > Subjec

RE: [struts] JSON plugin

2008-03-13 Thread Stanley, Eric
field [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 3:28 PM To: Struts Users Mailing List Subject: Re: [struts] JSON plugin Stanley, Eric wrote: > I tried just printing out responseObject[i] How in your javascript code do you convert the text of the res

Re: [struts] JSON plugin

2008-03-13 Thread Dale Newfield
Stanley, Eric wrote: I tried just printing out responseObject[i] How in your javascript code do you convert the text of the response into responseObject? -Dale - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm