Changeset 12897


Ignore:
Timestamp:
02/27/09 17:01:08 (3 years ago)
Author:
sam
Message:

dataFormWebTransf - table : pas de <thead> si celui-ci est vide.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_dataFormXhtmlTransf/widgets.xsl.xsl

    r12895 r12897  
    158158                        <xsl0:call-template name="classAtt"/> 
    159159                        <xsl0:call-template name="crossRefEntries"/> 
    160                         <thead> 
    161                                 <tr> 
    162                                         <xsl0:for-each select="sm:col"> 
    163                                                 <th> 
    164                                                         <xsl0:value-of select="@label"/> 
    165                                                 </th> 
    166                                         </xsl0:for-each> 
    167                                 </tr> 
    168                         </thead> 
     160                        <xsl0:if test="sm:col"> 
     161                                <thead> 
     162                                        <tr> 
     163                                                <xsl0:for-each select="sm:col"> 
     164                                                        <th> 
     165                                                                <xsl0:value-of select="@label"/> 
     166                                                        </th> 
     167                                                </xsl0:for-each> 
     168                                        </tr> 
     169                                </thead> 
     170                        </xsl0:if> 
    169171                        <tbody> 
    170172                                <xsl0:apply-templates mode="content"/> 
Note: See TracChangeset for help on using the changeset viewer.