cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From H.vanderLin...@MI.unimaas.nl
Subject RE: jx:attribute
Date Thu, 02 Dec 2004 21:05:01 GMT
Maybe this is too simple but what if you iterate over the bean properties
and generate your own xml version with tags, which is then transformed by an
XSL sheet to what you want?

<jx:foreach item ...whatever....>
 <mytag>${item}</mytag>
</jx:foreach>

HTH.

Bye, Helma

> -----Original Message-----
> From: Jorg Heymans [mailto:jh@domek.be] 
> Sent: Thursday, 02 December 2004 16:41
> To: dev@cocoon.apache.org
> Subject: Re: jx:attribute
> 
> 
> I see, so I will have to abandon my jx generator solution 
> then. Is there 
> another generator that can grab a bean from the (session)context and 
> generate tags from it?
> 
> Can the XSP or JSP generator do this ?
> 
> Thanks
> Jorg
> 
> Leszek Gawron wrote:
> > Jorg Heymans wrote:
> > 
> >> Hi,
> >>
> >> A while ago [1], there were talks about getting jx:attribute 
> >> implemented. Has anything come out of this?
> >>
> >> I have a usecase where i need to write out an arbitrary list of 
> >> attributes for a tag. Even though these attributes are 
> Nodes i don't 
> >> see any way of doing this in jx without something similar to 
> >> xsl:attribute.
> >>
> >> Or am i missing something here?
> > 
> > Nothing happened. The feature was considered very hard to implement.
> 

Mime
View raw message