bruno       2003/06/26 02:19:29

  Modified:    src/blocks/woody/samples/xsl/html woody-default.xsl
  Log:
  Added template to format aggregatefield widget
  
  Revision  Changes    Path
  1.4       +13 -0     cocoon-2.1/src/blocks/woody/samples/xsl/html/woody-default.xsl
  
  Index: woody-default.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/xsl/html/woody-default.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- woody-default.xsl 14 May 2003 11:36:46 -0000      1.3
  +++ woody-default.xsl 26 Jun 2003 09:19:29 -0000      1.4
  @@ -176,6 +176,19 @@
       </table>
     </xsl:template>
   
  +  <xsl:template match="wi:aggregatefield">
  +    <input name="[EMAIL PROTECTED]" value="{wi:value}"/>
  +
  +    <xsl:if test="wi:validation-message">
  +      <xsl:call-template name="validation-message">
  +        <xsl:with-param name="message" select="wi:validation-message"/>
  +      </xsl:call-template>
  +    </xsl:if>
  +    <xsl:if test="@required='true'">
  +      <b>*</b>
  +    </xsl:if>
  +  </xsl:template>
  +
     <xsl:template match="@*|node()" priority="-1">
       <xsl:copy>
         <xsl:apply-templates select="@*|node()"/>
  
  
  

Reply via email to