cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r482897 - /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-page-styling.xsl
Date Wed, 06 Dec 2006 05:16:22 GMT
Author: antonio
Date: Tue Dec  5 21:16:21 2006
New Revision: 482897

URL: http://svn.apache.org/viewvc?view=rev&rev=482897
Log:
don't create a <tr/> if there are no labels.

Modified:
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-page-styling.xsl

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-page-styling.xsl
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-page-styling.xsl?view=diff&rev=482897&r1=482896&r2=482897
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-page-styling.xsl
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/resources/forms-page-styling.xsl
Tue Dec  5 21:16:21 2006
@@ -311,9 +311,11 @@
     <table border="0" summary="{fi:hint}">
       <xsl:apply-templates select="." mode="css"/>
       <tbody>
+        <xsl:if test="fi:items/*[fi:label]">
         <tr>
           <xsl:apply-templates select="fi:items/*" mode="group-rows-labels"/>
         </tr>
+        </xsl:if>
         <tr>
           <xsl:apply-templates select="fi:items/*" mode="group-rows-content"/>
         </tr>



Mime
View raw message