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
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
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
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
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
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
6 matches
Mail list logo