Changeset 9780 for trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/_common/sm/web/sm_WLink.xml.xsl
- Timestamp:
- 09/25/07 22:27:39 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/_common/sm/web/sm_WLink.xml.xsl
r9625 r9780 62 62 <xsl0:param name="pOptions"/> 63 63 <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"/> 64 66 65 67 <xsl0:choose> … … 70 72 <xsl0:with-param name="pOptions" select="$pOptions"/> 71 73 <xsl0:with-param name="pExtraOptions" select="$pExtraOptions"/> 74 <xsl0:with-param name="pInFixedData" select="$pInFixedData"/> 72 75 </xsl0:call-template> 73 76 </xsl0:for-each> … … 78 81 <xsl0:with-param name="pOptions" select="$pOptions"/> 79 82 <xsl0:with-param name="pExtraOptions" select="$pExtraOptions"/> 83 <xsl0:with-param name="pInFixedData" select="$pInFixedData"/> 80 84 </xsl0:call-template> 81 85 </xsl0:otherwise> … … 146 150 <xsl0:param name="pOptions"/> 147 151 <xsl0:param name="pExtraOptions"/> 152 <xsl0:param name="pInFixedData"/> 148 153 149 154 <xsl0:variable name="vOptions"><xsl0:value-of select="$pOptions"/><xsl0:value-of select="$pExtraOptions"/></xsl0:variable> … … 151 156 <xsl0:when test="@target='subWindow'"> 152 157 <xsl0:attribute name="href">#</xsl0:attribute> 153 <xsl0:attribute name="onclick">scDynUiMgr.displaySubWindow(this,"<xsl0:value-of select="$pUrl"/>","<xsl0:value-of select="si(@windowName, @windowName, 'subWindow')"/>", {{<xsl0:value-of select="si(string-length($vOptions)>0, substring($vOptions,0,string-length($vOptions)), '')"/>}});return(false);</xsl0:attribute>158 <xsl0:attribute name="onclick">scDynUiMgr.displaySubWindow(this,"<xsl0:value-of select="$pUrl"/>","<xsl0:value-of select="si(@windowName, @windowName, 'subWindow')"/>",<xsl0:if test="not($pInFixedData)">{</xsl0:if>{<xsl0:value-of select="si(string-length($vOptions)>0, substring($vOptions,0,string-length($vOptions)), '')"/>}<xsl0:if test="not($pInFixedData)">}</xsl0:if>);return(false);</xsl0:attribute> 154 159 </xsl0:when> 155 160 <xsl0:when test="$vOptions!=''">
Note: See TracChangeset
for help on using the changeset viewer.