Re: Cocoon3, JSON, Spring

2011-09-14 Thread Thorsten Scherler
On Sun, 2011-09-11 at 23:16 +0300, Andre Juffer wrote: Also, my comment about the FopSerializer deriving from a XMLSerializer is in fact incorrect, so just ignore that one. I got that apparently confused with something else (I looked at too much code apparently...). There are however more

Re: Cocoon3, JSON, Spring

2011-09-14 Thread Andre Juffer
On 14/09/11 17:01, Thorsten Scherler wrote: On Sun, 2011-09-11 at 23:16 +0300, Andre Juffer wrote: Also, my comment about the FopSerializer deriving from a XMLSerializer is in fact incorrect, so just ignore that one. I got that apparently confused with something else (I looked at too much code

Re: Cocoon3, JSON, Spring

2011-09-11 Thread Andre Juffer
Hi Thorsten, I did do some work on a TextSerializer and a JsonSerializer. I got it all working now. I looked at the EncodingXHTMLSerializer as a starting point. I should note that I basically know nothing about the internal organization of cocoon 3, and this makes it really hard for an

Re: Cocoon3, JSON, Spring

2011-09-11 Thread Andre Juffer
I forgot to add the Spring 3 bean configuration for the serializers. Please see the attachment. On 09/11/2011 04:03 PM, Andre Juffer wrote: Hi Thorsten, I did do some work on a TextSerializer and a JsonSerializer. I got it all working now. I looked at the EncodingXHTMLSerializer as a

Re: Cocoon3, JSON, Spring

2011-09-11 Thread Andre Juffer
Also, my comment about the FopSerializer deriving from a XMLSerializer is in fact incorrect, so just ignore that one. I got that apparently confused with something else (I looked at too much code apparently...). There are however more than one XMLSerializers in use for cocoon3. The

Re: Cocoon3, JSON, Spring

2011-09-02 Thread Andre Juffer
On 09/02/2011 02:46 AM, Thorsten Scherler wrote: Hi Andre, sorry for top posting but I am responding from my mobile device. Regarding 1) the org.apache.cocoon.serialization.TextSerializer migration into c3 is ASAIK not yet done. However that should be pretty straight forward to implement.

Re: Cocoon3, JSON, Spring

2011-09-02 Thread Thorsten Scherler
On Fri, 2011-09-02 at 09:58 +0300, Andre Juffer wrote: On 09/02/2011 02:46 AM, Thorsten Scherler wrote: Hi Andre, sorry for top posting but I am responding from my mobile device. Regarding 1) the org.apache.cocoon.serialization.TextSerializer migration into c3 is ASAIK not yet done.

Re: Cocoon3, JSON, Spring

2011-09-02 Thread Andre Juffer
On 02/09/11 13:45, Thorsten Scherler wrote: On Fri, 2011-09-02 at 09:58 +0300, Andre Juffer wrote: On 09/02/2011 02:46 AM, Thorsten Scherler wrote: Hi Andre, sorry for top posting but I am responding from my mobile device. Regarding 1) the org.apache.cocoon.serialization.TextSerializer

Cocoon3, JSON, Spring

2011-09-01 Thread Andre Juffer
Hi All, I have two questions: (1) I want to be to be able to return JSON to the client, typically a browser. The client is responsible to properly present the response to the user, typically with the Dojotoolkit. As I would like to move to cocoon3, I was looking for a JsonSerializer or a

Re: Cocoon3, JSON, Spring

2011-09-01 Thread Thorsten Scherler
Hi Andre, sorry for top posting but I am responding from my mobile device. Regarding 1) the org.apache.cocoon.serialization.TextSerializer migration into c3 is ASAIK not yet done. However that should be pretty straight forward to implement. Actually I did lately work with the RESTController