cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: repeaters & alternate row colours
Date Thu, 13 Oct 2005 08:06:58 GMT
Le 13 oct. 05, à 10:02, Gunter D'Hondt a écrit :

> as Jorg also mentoined; I'm still using 2.1.4 (and cannot upgrade that
> quickly) so as far as I know I can't use the jx macros in that version
> any other possibilities?

you can post-process your form with an XSLT transform, and inject 
attributes on even/odd rows:

<xsl:template match="tr[position() mod 2 != 0]">
   ...copy element and add required attributes
</xsl:template>

-Bertrand


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


Mime
View raw message