You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2004/11/22 09:47:02 UTC
svn commit: r106168 - /cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
Author: reinhard
Date: Mon Nov 22 00:47:00 2004
New Revision: 106168
Modified:
cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
Log:
Date chooser for aggregated fields
Modified: cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
Url: http://svn.apache.org/viewcvs/cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl?view=diff&rev=106168&p1=cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl&r1=106167&p2=cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl&r2=106168
==============================================================================
--- cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl (original)
+++ cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl Mon Nov 22 00:47:00 2004
@@ -44,14 +44,16 @@
</xsl:template>
<!--+
- | fi:field with either
+ | fi:field or fi:aggregatefield with either
| - explicit styling @type = 'date' or
| - implicit if no styling @type is specified,
| but datatype/@type = 'date' and datatype/convertor/@variant = 'date',
| selection lists must be excluded here
+-->
<xsl:template match="fi:field[fi:styling/@type='date'] |
- fi:field[not(fi:styling/@type)][fi:datatype[@type='date'][fi:convertor/@variant='date']][not(fi:selection-list)]">
+ fi:field[not(fi:styling/@type)][fi:datatype[@type='date'][fi:convertor/@variant='date']][not(fi:selection-list)] |
+ fi:aggregatefield[not(fi:styling/@type)][fi:datatype[@type='date'][fi:convertor/@variant='date']][not(fi:selection-list)]
+ ">
<xsl:variable name="id" select="generate-id()"/>
<xsl:variable name="format">