Re: REST plugin, JSON

2008-11-14 Thread Jeromy Evans
Use the plugin config to the default handler for json. Missed a critical word: Use the plugin config to *override* the default handler for json, as described in the custom content type handlers section : http://struts.apache.org/2.0.12/docs/rest-plugin.html.

Re: REST plugin, JSON

2008-11-14 Thread Jeromy Evans
Hi All, I am using the latest 2.1.3 snapshot (as opposed to 2.1.2) because I have hierarchical resources. I've sent two emails to the users list but they have gone unanswered, and since the questions are about the 2.1.3-SNAPSHOT version it may be better to post them here anyway so here they are

Re: REST plugin, JSON

2008-11-14 Thread Musachy Barroso
I only know the answer to #2, I dont think there any configuration to do that. On Fri, Nov 14, 2008 at 4:07 AM, Alex Milanovic <[EMAIL PROTECTED]>wrote: > Hi All, > > I am using the latest 2.1.3 snapshot (as opposed to 2.1.2) because I > have hierarchical resources. I've sent two emails to the us

REST plugin, JSON

2008-11-14 Thread Alex Milanovic
Hi All, I am using the latest 2.1.3 snapshot (as opposed to 2.1.2) because I have hierarchical resources. I've sent two emails to the users list but they have gone unanswered, and since the questions are about the 2.1.3-SNAPSHOT version it may be better to post them here anyway so here they are: