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-field-styling.xsl forms-advanced-field-styling.xsl
Date Tue, 29 Jun 2004 19:44:25 GMT
joerg       2004/06/29 12:44:25

  Modified:    src/blocks/forms/samples/resources forms-field-styling.xsl
                        forms-advanced-field-styling.xsl
  Log:
  fix validation errors for transitional html 4.01
  
  Revision  Changes    Path
  1.12      +2 -2      cocoon-2.1/src/blocks/forms/samples/resources/forms-field-styling.xsl
  
  Index: forms-field-styling.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/samples/resources/forms-field-styling.xsl,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- forms-field-styling.xsl	8 Jun 2004 20:39:24 -0000	1.11
  +++ forms-field-styling.xsl	29 Jun 2004 19:44:25 -0000	1.12
  @@ -258,7 +258,7 @@
     <!--+
         | Labels for pure outputs must not contain <label/> as there is no element
to point to.
         +-->
  -  <xsl:template match="fi:output | fi:field[fi:styling/@type='output'] | fi:messages"
mode="label">
  +  <xsl:template match="fi:output | fi:field[fi:styling/@type='output'] | fi:messages
| fi:field[fi:selection-list][fi:styling/@list-type='radio']" mode="label">
       <xsl:copy-of select="fi:label/node()"/>
     </xsl:template>
   
  
  
  
  1.7       +2 -2      cocoon-2.1/src/blocks/forms/samples/resources/forms-advanced-field-styling.xsl
  
  Index: forms-advanced-field-styling.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/forms/samples/resources/forms-advanced-field-styling.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- forms-advanced-field-styling.xsl	11 May 2004 22:44:41 -0000	1.6
  +++ forms-advanced-field-styling.xsl	29 Jun 2004 19:44:25 -0000	1.7
  @@ -86,7 +86,7 @@
       <xsl:variable name="id" select="@id"/>
       <xsl:variable name="values" select="fi:values/fi:value/text()"/>
   
  -    <span class="forms-doubleList" title="{fi:hint}">
  +    <div class="forms-doubleList" title="{fi:hint}">
         <table>
           <xsl:if test="fi:styling/fi:available-label|fi:styling/fi:selected-label">
             <tr>
  @@ -156,7 +156,7 @@
         <script type="text/javascript">
           var opt<xsl:value-of select="generate-id()"/> = forms_createOptionTransfer('<xsl:value-of
select="@id"/>', <xsl:value-of select="fi:styling/@submit-on-change = 'true'"/>);
         </script>
  -    </span>
  +    </div>
     </xsl:template>
   
     <xsl:template match="fi:multivaluefield/fi:styling[@list-type='double-listbox']/@submit-on-change"
mode="styling"/>
  
  
  

Mime
View raw message