cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r106168 - /cocoon/trunk/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
Date Mon, 22 Nov 2004 08:47:02 GMT
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">

Mime
View raw message