cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r672113 - /cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
Date Fri, 27 Jun 2008 05:17:29 GMT
Author: antonio
Date: Thu Jun 26 22:17:29 2008
New Revision: 672113

URL: http://svn.apache.org/viewvc?rev=672113&view=rev
Log:
Enable onchange event for Multivalue field with checkboxes.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl?rev=672113&r1=672112&r2=672113&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
Thu Jun 26 22:17:29 2008
@@ -537,7 +537,7 @@
         <xsl:variable name="value" select="@value"/>
         <xsl:variable name="item-id" select="concat($id, ':', position())"/>
         <input id="{$item-id}" type="checkbox" value="{@value}" name="{$id}">
-          <xsl:apply-templates select="." mode="css"/>
+          <xsl:apply-templates select="../.." mode="styling"/>
           <xsl:if test="$state = 'disabled'">
             <xsl:attribute name="disabled">disabled</xsl:attribute>
           </xsl:if>



Mime
View raw message