cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r370150 - in /cocoon: branches/BRANCH_2_1_X/status.xml trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl
Date Wed, 18 Jan 2006 14:31:25 GMT
Author: jbq
Date: Wed Jan 18 06:31:17 2006
New Revision: 370150

URL: http://svn.apache.org/viewcvs?rev=370150&view=rev
Log:
Fix COCOON-1610: Add ids to CForms validation messages, so that they can be unit-tested

Modified:
    cocoon/branches/BRANCH_2_1_X/status.xml
    cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl

Modified: cocoon/branches/BRANCH_2_1_X/status.xml
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/status.xml?rev=370150&r1=370149&r2=370150&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/status.xml (original)
+++ cocoon/branches/BRANCH_2_1_X/status.xml Wed Jan 18 06:31:17 2006
@@ -180,6 +180,9 @@
   <release version="@version@" date="@date@">
 -->
   <release version="2.1.9" date="TBD">
+    <action dev="JBQ" type="fix" fixes-bug="COCOON-1610" due-to="Thomas Lutz" due-to-email="mattom@gmx.at">
+       Add ids to CForms validation messages, so that they can be unit-tested
+    </action>
     <action dev="JBQ" type="fix" fixes-bug="COCOON-1627" due-to="Aurélien DEHAY" due-to-email="ad@zorel.org">
       Permit the choice of attributes to augment in AugmentTransformer
     </action>

Modified: cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl?rev=370150&r1=370149&r2=370150&view=diff
==============================================================================
--- cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl
(original)
+++ cocoon/trunk/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/resources/forms-field-styling.xsl
Wed Jan 18 06:31:17 2006
@@ -167,7 +167,7 @@
       |
       +-->
   <xsl:template match="fi:validation-message">
-    <a href="#" class="forms-validation-message">
+    <a href="#" class="forms-validation-message" id="forms-validation-message-{../@id}">
       <xsl:attribute name="onclick">
         <xsl:text>alert('</xsl:text>
         <xsl:call-template name="apos-replace">



Mime
View raw message