Author: reinhard
Date: Mon Nov 22 00:58:38 2004
New Revision: 106169

Modified:
   
cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
Log:
Date chooser for aggregated fields

Modified: 
cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
Url: 
http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-calendar-styling.xsl?view=diff&rev=106169&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-calendar-styling.xsl&r1=106168&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-calendar-styling.xsl&r2=106169
==============================================================================
--- 
cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
  (original)
+++ 
cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/resources/forms-calendar-styling.xsl
  Mon Nov 22 00:58:38 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:[EMAIL 
PROTECTED]'date'][fi:convertor/@variant='date']][not(fi:selection-list)]">
+                       fi:field[not(fi:styling/@type)][fi:[EMAIL 
PROTECTED]'date'][fi:convertor/@variant='date']][not(fi:selection-list)] |
+                       fi:aggregatefield[not(fi:styling/@type)][fi:[EMAIL 
PROTECTED]'date'][fi:convertor/@variant='date']][not(fi:selection-list)]
+                       ">
     <xsl:variable name="id" select="generate-id()"/>
     
     <xsl:variable name="format">

Reply via email to