cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r652031 - /cocoon/branches/BRANCH_2_1_X/src/blocks/forms/resources/org/apache/cocoon/forms/resources/forms-field-styling.xsl
Date Sun, 27 Apr 2008 23:58:33 GMT
Author: joerg
Date: Sun Apr 27 16:58:32 2008
New Revision: 652031

URL: http://svn.apache.org/viewvc?rev=652031&view=rev
Log:
order of templates

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=652031&r1=652030&r2=652031&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
Sun Apr 27 16:58:32 2008
@@ -848,12 +848,12 @@
       | then copy the id to the child. This is needed for ajax when grouping is just used
to group
       | widgets.
       +-->
-  <xsl:template match="fi:group[@id and count(*) = 1 and not(fi:*)]">
-    <xsl:apply-templates mode="copy-parent-id"/>
-  </xsl:template>
-
   <xsl:template match="fi:group">
     <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="fi:group[@id and count(*) = 1 and not(fi:*)]">
+    <xsl:apply-templates mode="copy-parent-id"/>
   </xsl:template>
 
   <xsl:template match="*" mode="copy-parent-id">



Mime
View raw message