The parameters are passed but only the first one because you either have to
serialize the data or build your own serialized string.
If you want just a few fields and your form contains many more than that
you can build your own like this:
parameters: 'name='+escape($F('idName')) +'&price='+escape
You use something like Firebug or Chrome Developer Tools. See whether
the parameters passed?
Also in you javascript code is missing a comma after parameters line.
--
You received this message because you are subscribed to the Google Groups "Prototype
& script.aculo.us" group.
To unsubscribe fro
Try name=apple&price=1.00
On Feb 14, 2013 8:14 AM, "Sakthi Dasan" wrote:
> I have a rest web service like
>
> @Path("/postItem")@Produces({ MediaType.APPLICATION_XML,
> MediaType.APPLICATION_JSON })public Item postItem(@QueryParam("name") String
> name, @QueryParam("price") String price){
> S
I have a rest web service like
@Path("/postItem")@Produces({ MediaType.APPLICATION_XML,
MediaType.APPLICATION_JSON })public Item postItem(@QueryParam("name") String
name, @QueryParam("price") String price){
System.out.println(name);
System.out.println(price);
return new Item(name , price);