You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by jo...@apache.org on 2008/04/28 01:58:33 UTC

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

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">