Changeset 6903

Show
Ignore:
Timestamp:
10/16/06 21:02:24 (4 years ago)
Author:
sam
Message:

Ticket #44 - armoireUiTemplate : sm:Widget fairt planter la génération si texte seul

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_armoireUiTemplate/template.wm.xsl

    r6842 r6903  
    104104        <meta http-equiv="expires" name="Expires" content="Fri, 01 Jan 1990 00:00:00 GMT"/> 
    105105</xsl0:if> 
    106 <xsl0:apply-templates select="sm:metaTags/*" mode="metaTags"/>                           
    107 #set $destUrlTemplateResInSite = "<xsl0:value-of select="resultatAgent('styleResources')"/>"<!-- Styles du uitemplate --> 
     106<xsl0:apply-templates select="sm:metaTags/*" mode="metaTags"/><xsl0:text> 
     107</xsl0:text>#set $destUrlTemplateResInSite = "<xsl0:value-of select="resultatAgent('styleResources')"/>"<!-- Styles du uitemplate --> 
    108108<xsl0:if test="count(sm:styleResources/@styleSheet)!=0"> 
    109109        <link rel="stylesheet" href="$vGeneratorUtils.translatePubUri2DestUrl($destUrlTemplateResInSite)/{sm:styleResources/@styleSheet}" type="text/css"/> 
     
    212212        </xsl0:template> 
    213213 
    214         <xsl0:template match="sm:callMainZone">(!(inc=zone.mainZone.<xsl0:value-of select="si(@format, @format, 'xhtml')"/>.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>)!)</xsl0:template> 
     214        <xsl0:template match="sm:callMainZone">(!(inc=zone.mainZone.xhtml.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>)!)</xsl0:template> 
    215215        <xsl0:template match="sm:callOutline">$(vGeneratorUtils.executeXsl("outline<xsl0:value-of select="getIdNode(.)"/>.xsl", $vGeneratorUtils.resultatAgent(null, "outline:ancestors-siblings;descendants;"), null))</xsl0:template> 
    216216        <xsl0:template match="sm:callZone">(!(inc=zone.<xsl0:value-of select="@key"/>.<xsl0:value-of select="si(@format, @format, 'xhtml')"/>.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>)!)</xsl0:template> 
    217         <xsl0:template match="sm:callRootModel"> 
    218                 <xsl0:choose> 
    219                         <xsl0:when test="not(@format!='xhtml')">(!(inc=evalWm.<xsl0:value-of select="si(@format, @format, 'xhtml')"/>.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>.$vGeneratorUtils.resultatAgent($vGeneratorUtils.getPathAgentRoot("<xsl0:value-of select="getAxisSuffix(@axis)"/>/xhtmlContent"), null, "<zoneContent>", "</zoneContent>"))!)</xsl0:when> 
    220                         <xsl0:otherwise>(!(inc=evalWm.<xsl0:value-of select="@format"/>.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>.$vGeneratorUtils.resultatAgent($vGeneratorUtils.getPathAgentRoot("<xsl0:value-of select="getAxisSuffix(@axis)"/>/xhtmlContent"), null))!)</xsl0:otherwise> 
    221                 </xsl0:choose>           
    222         </xsl0:template>         
     217        <xsl0:template match="sm:callRootModel">(!(inc=evalWm.xhtml.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>.$vGeneratorUtils.resultatAgent($vGeneratorUtils.getPathAgentRoot("<xsl0:value-of select="getAxisSuffix(@axis)"/>/xhtmlContent"), null, "<zoneContent>", "</zoneContent>"))!)</xsl0:template>       
    223218                 
    224219        <!-- sm:WText ===================================================================== --> 
     
    233228 
    234229        <!-- sm:Widget ===================================================================== -->         
    235         <xsl0:template match="sm:Widget">(!(inc=evalWm.xhtml.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>.$vGeneratorUtils.resultatAgent("/@@/tplWidget_<xsl0:value-of select="getIdFromPath(@sc:refUri)"/>", null) )!)</xsl0:template>     
     230        <xsl0:template match="sm:Widget">(!(inc=evalWm.xhtml.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>.$vGeneratorUtils.resultatAgent("/@@/tplWidget_<xsl0:value-of select="getIdFromPath(@sc:refUri)"/>", null, "<zoneContent>", "</zoneContent>"))!)</xsl0:template>   
    236231         
    237232