cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/variables VariableResolverFactory.java
Date Tue, 23 Dec 2003 18:05:19 GMT
vgritsenko    2003/12/23 10:05:19

  Modified:    src/blocks/woody/samples/resources woody-field-styling.xsl
               src/java/org/apache/cocoon/components/treeprocessor/variables
                        VariableResolverFactory.java
  Log:
  HTML 4.01 conformance changes
  
  Revision  Changes    Path
  1.27      +5 -5      cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl
  
  Index: woody-field-styling.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/resources/woody-field-styling.xsl,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- woody-field-styling.xsl	19 Dec 2003 18:38:46 -0000	1.26
  +++ woody-field-styling.xsl	23 Dec 2003 18:05:19 -0000	1.27
  @@ -65,7 +65,7 @@
       <div class="woody-help" id="help{generate-id()}" style="visibility:hidden; position:absolute;">
         <xsl:apply-templates select="node()"/>
       </div>
  -    <script language="JavaScript">
  +    <script language="JavaScript" type="text/javascript">
         var helpWin<xsl:value-of select="generate-id()"/> = woody_createPopupWindow('help<xsl:value-of
select="generate-id()"/>');
       </script>
       <a id="{generate-id()}" href="#" onclick="helpWin{generate-id()}.showPopup('{generate-id()}');return
false;"><img border="0" src="resources/help.gif"/></a>
  @@ -106,7 +106,7 @@
                 <td>
                   <input type="radio" id="{generate-id()}" name="{$id}" value="{@value}">
                     <xsl:if test="@value = $value">
  -                    <xsl:attribute name="checked">true</xsl:attribute>
  +                    <xsl:attribute name="checked">checked</xsl:attribute>
                     </xsl:if>
                     <xsl:if test="wi:styling/@submit-on-change='true'">
                       <xsl:attribute name="onchange">woody_submitForm(this)</xsl:attribute>
  @@ -131,7 +131,7 @@
             <xsl:for-each select="wi:selection-list/wi:item">
               <input type="radio" id="{generate-id()}" name="{$id}" value="{@value}">
                 <xsl:if test="@value = $value">
  -                <xsl:attribute name="checked">true</xsl:attribute>
  +                <xsl:attribute name="checked">checked</xsl:attribute>
                 </xsl:if>
                 <xsl:if test="wi:styling/@submit-on-change='true'">
                   <xsl:attribute name="onchange">woody_submitForm(this)</xsl:attribute>
  @@ -240,7 +240,7 @@
         </xsl:if>
         <xsl:copy-of select="@*[not(name() = 'submit-on-change')]"/>
         <xsl:if test="wi:value/text() = 'true'">
  -        <xsl:attribute name="checked">true</xsl:attribute>
  +        <xsl:attribute name="checked">checked</xsl:attribute>
         </xsl:if>
       </input>
       <xsl:apply-templates select="." mode="common"/>
  @@ -296,7 +296,7 @@
           <xsl:variable name="value" select="@value"/>
           <input id="{generate-id()}" type="checkbox" value="{@value}" name="{$id}">
             <xsl:if test="$values[. = $value]">
  -            <xsl:attribute name="checked">true</xsl:attribute>
  +            <xsl:attribute name="checked">checked</xsl:attribute>
             </xsl:if>
           </input>
           <label for="{generate-id()}"><xsl:copy-of select="wi:label/node()"/></label>
  
  
  
  1.3       +1 -4      cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/variables/VariableResolverFactory.java
  
  Index: VariableResolverFactory.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/treeprocessor/variables/VariableResolverFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- VariableResolverFactory.java	16 Mar 2003 17:49:13 -0000	1.2
  +++ VariableResolverFactory.java	23 Dec 2003 18:05:19 -0000	1.3
  @@ -144,11 +144,8 @@
               
           } else {
               return new NOPVariableResolver(expression);
  -            
           }
       }
  -
  -
   }
   
   
  
  
  

Mime
View raw message