cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/forms/samples/resources forms-htmlarea-styling.xsl
Date Tue, 29 Jun 2004 19:53:46 GMT
joerg       2004/06/29 12:53:46

  Modified:    src/blocks/forms/samples/forms htmlarea_template.xml
               src/blocks/forms/samples/resources
                        forms-htmlarea-styling.xsl
  Log:
  fix validation errors for transitional html 4.01
  
  Revision  Changes    Path
  1.2       +2 -2      cocoon-2.1/src/blocks/forms/samples/forms/htmlarea_template.xml
  
  Index: htmlarea_template.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/samples/forms/htmlarea_template.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- htmlarea_template.xml	9 Mar 2004 10:33:48 -0000	1.1
  +++ htmlarea_template.xml	29 Jun 2004 19:53:45 -0000	1.2
  @@ -21,8 +21,8 @@
       <ft:form-template action="#{$continuation/id}.continue" method="POST">
         <ft:widget-label id="data"/><br/>
         <ft:widget id="data">
  -        <fi:styling type="htmlarea" style="width: 100%;" rows="20" />
  -	  </ft:widget>      
  +        <fi:styling type="htmlarea" style="width: 100%;" rows="20" cols="80"/>
  +      </ft:widget>      
         <br/>
         <input type="submit"/>
       </ft:form-template>
  
  
  
  1.5       +1 -1      cocoon-2.1/src/blocks/forms/samples/resources/forms-htmlarea-styling.xsl
  
  Index: forms-htmlarea-styling.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/samples/resources/forms-htmlarea-styling.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- forms-htmlarea-styling.xsl	22 Apr 2004 14:16:31 -0000	1.4
  +++ forms-htmlarea-styling.xsl	29 Jun 2004 19:53:45 -0000	1.5
  @@ -51,7 +51,7 @@
           <script language="JavaScript"><xsl:value-of select="fi:styling/initFunction"/>('<xsl:value-of
select="@id"/>');</script>
         </xsl:when>
         <xsl:otherwise>
  -        <script language="JavaScript">HTMLArea.replace('<xsl:value-of select="@id"/>');</script>
       
  +        <script type="text/javascript">HTMLArea.replace('<xsl:value-of select="@id"/>');</script>
       
         </xsl:otherwise>
       </xsl:choose>
     </xsl:template>
  
  
  

Mime
View raw message