Re: How to set a List using JSON plugin?

2011-06-04 Thread Burton Rhodes
Although the example I have is simple, the final page is going to have a fairly complex form. I would very much like to submit the data via a json object. I assume this has been done by many since it seems that it would be a frequent request. And is also demonstrated on the json plugin spec page.

Re: How to set a List using JSON plugin?

2011-06-04 Thread Maurizio Cucchiara
This should not be a JSON plugin's error, more likely a OGNL conversion error. The problem have to do with the ajax request. JQuery send the following query string: integerList[]=1&integerList[]=3 Try to express the data parameter in html instead of json: data: "ignoreTaskIds=1&ignoreTaskIds=3" O

How to set a List using JSON plugin?

2011-06-04 Thread Burton Rhodes
I am trying to do something incredibly simple and for some reason I cannot get the JSON plugin to work. Below are a few code snippits. Can any tell me why I get an error when trying to set a List when using the JSON plugin? Do I need a converter for this? Or am I missing somthing simple? // Tes