Ignore:
Timestamp:
11/24/06 10:26:31 (6 years ago)
Author:
sys
Message:

Paramétrage mainView

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/_common/sm/organisationMainview.xul.xsl

    r7480 r7484  
    7070        </xsl:template> 
    7171         
    72         <xsl:template match="sm:htmlPreviewBlock" mode="mainview"> 
    73                 <blockcontent label="{@name}" xsloncontent="{resultatAgent('//preview.xsl', 'act:')}"/> 
     72        <xsl:template match="sm:previewBlock" mode="mainview"> 
     73                <blockcontent titleblock="{@name}" xsloncontent="{resultatAgent('//preview.xsl', 'act:')}"/> 
    7474        </xsl:template> 
    7575        <xsl:template match="sm:technicalInfoBlock" mode="mainview"> 
    76                 <infotechblock label="{@name}"/> 
     76                <infotechblock titleblock="{@name}"/> 
    7777        </xsl:template> 
    7878        <xsl:template match="sm:xmlViewBlock" mode="mainview"> 
    79                 <srcxmlblock label="{@name}"/> 
     79                <srcxmlblock titleblock="{@name}"/> 
    8080        </xsl:template> 
    8181 
    8282        <xsl:template match="sm:formEditorTab[@display!='hidden']" mode="mainview"> 
    83                 <sctabxmleditor label="{@name}" code="formEdit"  
    84                         indent="{sm:authoring/sm:formEditor/@indentXml}"  
    85                         icon="chrome://scenaricms/content/widgets/sctab/icon/edit.png"  
    86                         model="{resultatAgent('//form.xed.xml', 'act:')}" 
    87                         collapsed="{@display='extra'}"/> 
     83                <xsl:variable name="vEditorModel" select="resultatAgent(concat('//form', @formEditorKey, '.xed.xml'), 'act:')"/> 
     84                <xsl:if test="$vEditorModel"> 
     85                        <sctabxmleditor label="{@name}" code="formEdit"  
     86                                indent="{sm:authoring/sm:formEditor/@indentXml}"  
     87                                icon="chrome://scenaricms/content/widgets/sctab/icon/edit.png"  
     88                                model="{$vEditorModel}" 
     89                                collapsed="{@display='extra'}"/> 
     90                </xsl:if> 
    8891        </xsl:template> 
    8992 
Note: See TracChangeset for help on using the changeset viewer.