Ignore:
Timestamp:
09/25/07 22:27:39 (4 years ago)
Author:
sys
Message:

cas du WLink inséré dans un contexte fixe (hors xsl-statique) (cas du openUiWidget)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/_common/sm/web/sm_WLink.xml.xsl

    r9625 r9780  
    6262                <xsl0:param name="pOptions"/> 
    6363                <xsl0:param name="pExtraOptions"/> 
     64                <!-- Passer true() si le résultat publié dans la BS produite n'est pas inclus dans une xsl-statique (pas de double {{}}). --> 
     65                <xsl0:param name="pInFixedData"/> 
    6466 
    6567                <xsl0:choose> 
     
    7072                                                <xsl0:with-param name="pOptions" select="$pOptions"/> 
    7173                                                <xsl0:with-param name="pExtraOptions" select="$pExtraOptions"/> 
     74                                                <xsl0:with-param name="pInFixedData" select="$pInFixedData"/> 
    7275                                        </xsl0:call-template> 
    7376                                </xsl0:for-each> 
     
    7881                                        <xsl0:with-param name="pOptions" select="$pOptions"/> 
    7982                                        <xsl0:with-param name="pExtraOptions" select="$pExtraOptions"/> 
     83                                        <xsl0:with-param name="pInFixedData" select="$pInFixedData"/> 
    8084                                </xsl0:call-template> 
    8185                        </xsl0:otherwise> 
     
    146150                <xsl0:param name="pOptions"/> 
    147151                <xsl0:param name="pExtraOptions"/> 
     152                <xsl0:param name="pInFixedData"/> 
    148153 
    149154                <xsl0:variable name="vOptions"><xsl0:value-of select="$pOptions"/><xsl0:value-of select="$pExtraOptions"/></xsl0:variable> 
     
    151156                        <xsl0:when test="@target='subWindow'"> 
    152157                                <xsl0:attribute name="href">#</xsl0:attribute> 
    153                                 <xsl0:attribute name="onclick">scDynUiMgr.displaySubWindow(this,&quot;<xsl0:value-of select="$pUrl"/>&quot;,&quot;<xsl0:value-of select="si(@windowName, @windowName, 'subWindow')"/>&quot;,{{<xsl0:value-of select="si(string-length($vOptions)&gt;0, substring($vOptions,0,string-length($vOptions)), '')"/>}});return(false);</xsl0:attribute> 
     158                                <xsl0:attribute name="onclick">scDynUiMgr.displaySubWindow(this,&quot;<xsl0:value-of select="$pUrl"/>&quot;,&quot;<xsl0:value-of select="si(@windowName, @windowName, 'subWindow')"/>&quot;,<xsl0:if test="not($pInFixedData)">{</xsl0:if>{<xsl0:value-of select="si(string-length($vOptions)&gt;0, substring($vOptions,0,string-length($vOptions)), '')"/>}<xsl0:if test="not($pInFixedData)">}</xsl0:if>);return(false);</xsl0:attribute> 
    154159                        </xsl0:when> 
    155160                        <xsl0:when test="$vOptions!=''"> 
Note: See TracChangeset for help on using the changeset viewer.