Re: 2.2 using cocoon-ajax-impl

2007-05-25 Thread Jeremy Quinn
On 24 May 2007, at 08:01, Marc Portier wrote: anyways trying to explain the issue: System.JSON.js quite clearly states that it only supports serialization of some basic types, and collections and maps so people that want to serialize out custom java beans to JSON have two options 1.

Re: 2.2 using cocoon-ajax-impl

2007-05-24 Thread Marc Portier
Grzegorz Kossakowski wrote: Marc Portier pisze: Yes. I did this way (I didn't touch paths, directory structure, sitemap) because I didn't understand the stuff fully. There is only one sample in Cocoon (in Forms) that uses this stuff but it does not work up to date. I mentioned problem few

Re: 2.2 using cocoon-ajax-impl

2007-05-23 Thread Marc Portier
Grzegorz Kossakowski wrote: Marc Portier pisze: Hi there, I have a block that is dependant on cocoon-ajax-impl and wants to use the JSON script in there: before http://svn.apache.org/viewvc?view=revrevision=534148 the script was loaded via

Re: 2.2 using cocoon-ajax-impl

2007-05-23 Thread Marc Portier
Grzegorz Kossakowski wrote: Marc Portier pisze: hm, looks like I'm stumbling over a partial answer: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-impl-blockServlet.xml?view=markup I suppose the 2nd bean

Re: 2.2 using cocoon-ajax-impl

2007-05-23 Thread Giacomo Pati
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Grzegorz Kossakowski wrote: Giacomo, as you seem to be more experienced with the JSON, could take What makes you believe I know anything about JSON. Sorry, have no clue about it. - -- Giacomo Pati Otego AG, Switzerland - http://www.otego.com

Re: 2.2 using cocoon-ajax-impl

2007-05-23 Thread Grzegorz Kossakowski
Giacomo Pati pisze: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Grzegorz Kossakowski wrote: Giacomo, as you seem to be more experienced with the JSON, could take What makes you believe I know anything about JSON. Sorry, have no clue about it. Arggh! I'm very sorry. :( I meant Marc

Re: 2.2 using cocoon-ajax-impl

2007-05-23 Thread Grzegorz Kossakowski
Marc Portier pisze: Yes. I did this way (I didn't touch paths, directory structure, sitemap) because I didn't understand the stuff fully. There is only one sample in Cocoon (in Forms) that uses this stuff but it does not work up to date. I mentioned problem few times and asked for help, last

2.2 using cocoon-ajax-impl

2007-05-22 Thread Marc Portier
Hi there, I have a block that is dependant on cocoon-ajax-impl and wants to use the JSON script in there: before http://svn.apache.org/viewvc?view=revrevision=534148 the script was loaded via cocoon.load(resource://org/apache/cocoon/ajax/system/System.JSON.js); today it seems we should be

Re: 2.2 using cocoon-ajax-impl

2007-05-22 Thread Marc Portier
hm, looks like I'm stumbling over a partial answer: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-impl-blockServlet.xml?view=markup I suppose the 2nd bean over there will cater for the 'system' references?

Re: 2.2 using cocoon-ajax-impl

2007-05-22 Thread Grzegorz Kossakowski
Marc Portier pisze: hm, looks like I'm stumbling over a partial answer: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-ajax/cocoon-ajax-impl/src/main/resources/META-INF/cocoon/spring/cocoon-ajax-impl-blockServlet.xml?view=markup I suppose the 2nd bean over there will cater for the

Re: 2.2 using cocoon-ajax-impl

2007-05-22 Thread Grzegorz Kossakowski
Marc Portier pisze: Hi there, I have a block that is dependant on cocoon-ajax-impl and wants to use the JSON script in there: before http://svn.apache.org/viewvc?view=revrevision=534148 the script was loaded via cocoon.load(resource://org/apache/cocoon/ajax/system/System.JSON.js); today it