Re: [Resteasy-users] XML format

2012-06-14 Thread Jim Stafford
You can add the outer element using @XMLElementWrapper annotation http://docs.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlElementWrapper.html On Tue, Jun 12, 2012 at 2:14 PM, Norman Maurer wrote: > Hi there, > > I have a simple question ( at least I hope its simple) ;) I have the

[Resteasy-users] AJAX client and arrays in FORM parameters

2012-06-14 Thread Michael Descher
I have a RestEASY service where a resource method takes a form parameter. The type of the parameter in Java is a String array. When using the generated Javascript AJAX client code and putting an array into the parameter map, the items of the array are concatenated with comma and sent in a single

Re: [Resteasy-users] AJAX client and arrays in FORM parameters

2012-06-14 Thread Bill Burke
Submit a bug please. On 6/14/12 5:19 PM, Michael Descher wrote: > I have a RestEASY service where a resource method takes a form parameter. The > type of the parameter in Java is a String array. When using the generated > Javascript AJAX client code and putting an array into the parameter map, t

Re: [Resteasy-users] XML format

2012-06-14 Thread Norman Maurer
Yeah that worked ... Sorry for not let you know before.. Sent from my iPhone. Excuse any typos Am 12.06.2012 um 21:27 schrieb Jim Stafford : > You can add the outer element using @XMLElementWrapper annotation > > http://docs.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlElementW