Hi Luca,

I think it's a rather nice solution myself.

So basically you could now even write a generic macro to export JSON to
xml... should be a breeze ;-)

And I always share solutions... others might have similar use cases but
it also opens discussion(s) which might lead to better implementations.

Cheers,
Robby Pelssers
http://robbypelssers.blogspot.com/


-----Original Message-----
From: news [mailto:n...@ger.gmane.org] On Behalf Of Luca Morandini
Sent: Tuesday, December 15, 2009 4:07 PM
To: users@cocoon.apache.org
Subject: Re: how-to iterate over attributes of javascript object within
template block [SOLVED]

On 15/12/09 14:03, Robby Pelssers wrote:
> I managed to find a very easy solution...I wrote some extensions on
the
> native javascript Object and Array and put that file in the flowscript
> folder.  So whenever Cocoon is started, the flowscript folder is
scanned
> and all my objects inherit the extensions automatically.

Rather cool... thanks for sharing it with us.

Regards,

--------------------
    Luca Morandini
www.lucamorandini.it
--------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org

Reply via email to