cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject jx:attribute
Date Sat, 29 Oct 2005 18:24:47 GMT
Right now we have:
<elem>
   <jx:attribute name="foo" value="bar"/>
</elem>

I would like to implement following syntax:

<elem>
   <jx:attribute name="foo">bar</jx:attribute>
</elem>

This would allow to nest jx:* tags in jx:template:
<elem>
   <jx:attribute name="foo"><jx:formatDate
                  value=${mydate}"/></jx:attribute>
</elem>

I am not quite sure how to reuse text serializer logic to serialize 
contents of <jx:attribute> node to string. Could anybody help? Assume I 
have a chain of SAX events and access to service manager.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT Manager                                         MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65

Mime
View raw message