cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robby Pelssers" <robby.pelss...@ciber.com>
Subject RE: Re: how-to iterate over attributes of javascript object within template block [SOLVED]
Date Tue, 15 Dec 2009 15:16:14 GMT
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:news@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-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


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


Mime
View raw message