Changeset 6904

Show
Ignore:
Timestamp:
16.10.2006 21:02:41 (3 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
  • branches/3.2.x/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_armoireUiTemplate/template.wm.xsl

    r6843 r6904  
    5555        <xsl0:variable name="vCodeTemplate" select="resultatDialogue('.../codeTemplate')"/> 
    5656 
    57                  
    5857        <xsl0:template match="sm:armoireUiTemplate"> 
    5958 
     
    208207                <xsl0:value-of select="."/> 
    209208        </xsl0:template> 
    210         <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> 
     209        <xsl0:template match="sm:callMainZone">(!(inc=zone.mainZone.xhtml.<xsl0:value-of select="resultatAgent('//agentGenerator', 'standard/xslMethod')"/>)!)</xsl0:template> 
    211210        <xsl0:template match="sm:callOutline">$(vGeneratorUtils.executeXsl("outline<xsl0:value-of select="getIdNode(.)"/>.xsl", $vGeneratorUtils.resultatAgent(null, "outline:ancestors-siblings;descendants;"), null))</xsl0:template> 
    212211        <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> 
    213         <xsl0:template match="sm:callRootModel"> 
    214                 <xsl0:choose> 
    215                         <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> 
    216                         <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> 
    217                 </xsl0:choose>           
    218         </xsl0:template>         
     212        <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>       
    219213                 
    220214        <xsl0:template match="sm:WXhtmlFragment"> 
     
    222216                <xsl0:value-of select="." disable-output-escaping="yes"/> 
    223217        </xsl0:template> 
    224         <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>     
     218        <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>   
    225219        <xsl0:template match="sm:WImage"> 
    226220#set $pubUriImage = "<xsl0:value-of select="resultatAgent('//',