Changeset 9402


Ignore:
Timestamp:
07/25/07 22:39:04 (5 years ago)
Author:
sam
Message:
  • mutualisation elts bs sm:tooltip et sm:link (bis)
File:
1 edited

Legend:

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

    r9401 r9402  
    267267                        <xsl0:call-template name="linkOptions"/><!-- Dans bsco:sm/web/sm_WLink.xml.xsl --> 
    268268                </xsl0:variable> 
    269                 <xsl0:choose> 
    270                         <xsl0:when test="$vOptions!=''"> 
    271                                 <xsl:attribute name="href">javascript:window.open(&quot;<xsl0:copy-of select="$vXslUrl"/>&quot;,<xsl0:choose> 
    272                                         <xsl0:when test="@target='newWindow'">&quot;_blank&quot;</xsl0:when> 
    273                                         <xsl0:when test="@target='sameWindow'">&quot;_self&quot;</xsl0:when> 
    274                                         <xsl0:when test="@target='namedWindow'">&quot;<xsl0:value-of select="si(@windowName, @windowName, '_blank')"/>&quot;</xsl0:when> 
    275                                         <xsl0:otherwise>&quot;_self&quot;</xsl0:otherwise> 
    276                                 </xsl0:choose>,&quot;<xsl0:value-of select="substring($vOptions,0,string-length($vOptions))"/>&quot;)?void(0):void(0)</xsl:attribute> 
    277                         </xsl0:when> 
    278                         <xsl0:otherwise> 
    279                                 <xsl:attribute name="href"><xsl0:copy-of select="$vXslUrl"/></xsl:attribute> 
    280                                 <xsl:attribute name="target"> 
    281                                         <xsl0:choose> 
    282                                                 <xsl0:when test="@target='newWindow'">_blank</xsl0:when> 
    283                                                 <xsl0:when test="@target='sameWindow'">_self</xsl0:when> 
    284                                                 <xsl0:when test="@target='namedWindow'"><xsl0:value-of select="si(@windowName, @windowName, '_blank')"/></xsl0:when> 
    285                                                 <xsl0:otherwise>_self</xsl0:otherwise> 
    286                                         </xsl0:choose> 
    287                                 </xsl:attribute> 
    288                         </xsl0:otherwise> 
    289                 </xsl0:choose> 
     269                <xsl0:call-template name="linkHref"><!-- Dans bsco:sm/web/sm_WLink.xml.xsl --> 
     270                        <xsl0:with-param name="pUrl"><xsl0:copy-of select="$vXslUrl"/></xsl0:with-param> 
     271                        <xsl0:with-param name="pOptions"><xsl0:value-of select="$vOptions"/></xsl0:with-param> 
     272                </xsl0:call-template> 
    290273        </xsl0:template> 
    291274        <!-- Axis uLinkLabel --> 
Note: See TracChangeset for help on using the changeset viewer.