Changeset 6539
- Timestamp:
- 09/14/06 17:04:51 (5 years ago)
- Location:
- trunk/Wsp_Modeling
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Wsp_Modeling/es/content/uiWidget/crossRefTableUiWidget/xml.xed.xml
r6471 r6539 160 160 <xul:childs> 161 161 <se:choice se:id="choiceCaller" se:card="*" se:show="ifExist"> 162 <xul:element se:name="sm:titlePageCaller" se:id="sm:titlePageCaller" se:bind="element" forcefilled="true"/> 162 163 <xul:element se:name="sm:WLinkCaller" se:bind="element"> 163 164 <xul:atts> … … 168 169 <xul:childs> 169 170 <se:choice se:id="choiceLabelCaller" se:card="*" se:show="ifExist"> 170 < xul:element se:name="sm:titlePageCaller" se:bind="element" forcefilled="true"/>171 <se:ref se:refid="sm:titlePageCaller"/> 171 172 <se:ref se:refid="img"/> 172 173 <xul:genelt forcefilled="true" se:bind="element"> … … 182 183 </se:choice> 183 184 <xul:insert se:bind="current"/> 185 </xul:childs> 186 </xul:element> 187 <xul:element se:name="sm:link" se:bind="element"> 188 <xul:atts> 189 <xul:attribute se:name="target" se:bind="attribute"> 190 <xul:choiceInput> 191 <xul:ciItem label="newWindow"/> 192 <xul:ciItem label="namedWindow"/> 193 <xul:ciItem label="sameWindow"/> 194 </xul:choiceInput> 195 </xul:attribute> 196 <xul:attribute se:name="windowName" se:bind="attribute"> 197 <xul:wordsInput trim="true"/> 198 </xul:attribute> 199 <xul:attribute se:bind="attribute" se:name="windowOptions"> 200 <xul:wordsInput/> 201 </xul:attribute> 202 </xul:atts> 203 </xul:element> 204 </xul:childs> 205 </xul:element> 206 <xul:element se:name="sm:WTooltip" se:bind="element"> 207 <xul:atts> 208 <se:ref se:refid="attCommonClass"/> 209 </xul:atts> 210 <xul:childs> 211 <xul:element se:name="sm:label" se:id="ttChildren_forCall" se:bind="element"> 212 <xul:childs> 213 <se:ref se:refid="choiceCaller"/> 214 <xul:insert se:bind="current"/> 215 </xul:childs> 216 </xul:element> 217 <xul:element se:name="sm:tooltip" se:bind="element" forcefilled="true"> 218 <xul:atts> 219 <xul:attribute se:name="trigger" se:bind="attribute"> 220 <xul:choiceInput> 221 <xul:ciItem label="onmouseover"/> 222 <xul:ciItem label="onclick"/> 223 </xul:choiceInput> 224 </xul:attribute> 225 <xul:attribute se:name="displayOptions" se:bind="attribute"> 226 <xul:wordsInput trim="true"/> 227 </xul:attribute> 228 </xul:atts> 229 <xul:childs> 230 <se:ref se:name="sm:ttTitle" se:refid="ttChildren_forCall" se:card="?"/> 231 <se:ref se:name="sm:ttContent" se:refid="ttChildren_forCall" se:card="?"/> 184 232 </xul:childs> 185 233 </xul:element> … … 199 247 </se:choice> 200 248 <xul:insert se:bind="current"/> 249 </xul:childs> 250 </xul:element> 251 <xul:element se:name="sm:WTooltip" se:bind="element"> 252 <xul:atts> 253 <se:ref se:refid="attCommonClass"/> 254 </xul:atts> 255 <xul:childs> 256 <xul:element se:name="sm:label" se:id="ttChildren_forEnt" se:bind="element"> 257 <xul:childs> 258 <se:ref se:refid="choiceEntry"/> 259 <xul:insert se:bind="current"/> 260 </xul:childs> 261 </xul:element> 262 <xul:element se:name="sm:tooltip" se:bind="element" forcefilled="true"> 263 <xul:atts> 264 <xul:attribute se:name="trigger" se:bind="attribute"> 265 <xul:choiceInput> 266 <xul:ciItem label="onmouseover"/> 267 <xul:ciItem label="onclick"/> 268 </xul:choiceInput> 269 </xul:attribute> 270 <xul:attribute se:name="displayOptions" se:bind="attribute"> 271 <xul:wordsInput trim="true"/> 272 </xul:attribute> 273 </xul:atts> 274 <xul:childs> 275 <se:ref se:name="sm:ttTitle" se:refid="ttChildren_forEnt" se:card="?"/> 276 <se:ref se:name="sm:ttContent" se:refid="ttChildren_forEnt" se:card="?"/> 277 </xul:childs> 278 </xul:element> 201 279 </xul:childs> 202 280 </xul:element> -
trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_crossRefTableUiWidget.xml
r6471 r6539 87 87 <source type="composition-dynamique"> 88 88 <c:composition xmlns:c="composition"> 89 <c:boucleagents> 89 <c:if type="xpath-statique" test="count(.//sm:WTooltip) > 0"> 90 <c:donnee type="xpath-dynamique">execute(resultatAgent('//agentGenerator', 'fillBufferTooltipLibrary'))</c:donnee> 91 </c:if> 92 <c:boucleagents> 90 93 <c:listeagents type="resultat-dynamique">agent=//calledStylableList</c:listeagents> 91 94 <c:resultat agent="fillBuffers"/> -
trunk/Wsp_Modeling/spaces/gen/modelBuilder/bs.doss/sm_crossRefTableUiWidget/xhtmlContent.xsl.xsl
r6471 r6539 23 23 <xsl:template match="*"> 24 24 <xsl:variable name="vIndex" select="java:com.scenari.m.ge.generator.web.CrossRefEntry.getIndexAsIdSrcNode($vDialog, '{sm:refEntries/@key}', '{$vSortKeyPath}', {si(count(//sm:forCaller), 'true()', 'false()')}, '{$vSortKeyMode}', '', {$vRegExpFilter})" /> 25 <xsl0:apply-templates select="sm:content/ *" mode="contentTpl" />25 <xsl0:apply-templates select="sm:content/node()" mode="contentTpl" /> 26 26 </xsl:template> 27 27 <xsl0:apply-templates select="sm:content/*" mode="indexTpl" /> … … 57 57 </xsl0:template> 58 58 <xsl0:template match="sm:WLinkCaller" mode="contentTpl"> 59 <a href="{{@url}}" class="{@commonClass}"> 60 <xsl0:apply-templates select="sm:label/*" mode="contentTpl" /> 61 </a> 59 <a class="{@commonClass}"> 60 <xsl0:choose> 61 <xsl0:when test="sm:link/@windowOptions"> 62 <xsl0:attribute name="href">javascript:window.open("{@url}",<xsl0:choose> 63 <xsl0:when test="sm:link/@target='newWindow'">"_blank"</xsl0:when> 64 <xsl0:when test="sm:link/@target='sameWindow'">"_self"</xsl0:when> 65 <xsl0:when test="sm:link/@target='namedWindow'">"<xsl0:value-of select="si(sm:link/@windowName, sm:link/@windowName, '_blank')"/>"</xsl0:when> 66 <xsl0:otherwise>"_self"</xsl0:otherwise> 67 </xsl0:choose>,"<xsl0:value-of select="sm:link/@windowOptions"/>")?void(0):void(0)</xsl0:attribute> 68 </xsl0:when> 69 <xsl0:otherwise> 70 <xsl0:attribute name="href">{@url}</xsl0:attribute> 71 <xsl0:attribute name="target"> 72 <xsl0:choose> 73 <xsl0:when test="sm:link/@target='newWindow'">_blank</xsl0:when> 74 <xsl0:when test="sm:link/@target='sameWindow'">_self</xsl0:when> 75 <xsl0:when test="sm:link/@target='namedWindow'"><xsl0:value-of select="si(sm:link/@windowName, sm:link/@windowName, '_blank')"/></xsl0:when> 76 <xsl0:otherwise>_self</xsl0:otherwise> 77 </xsl0:choose> 78 </xsl0:attribute> 79 </xsl0:otherwise> 80 </xsl0:choose> 81 <xsl0:choose> 82 <xsl0:when test="count(sm:label/node()) = 0"> </xsl0:when> 83 <xsl0:otherwise><span><xsl0:apply-templates select="sm:label/node()" mode="contentTpl" /></span></xsl0:otherwise> 84 </xsl0:choose></a> 62 85 </xsl0:template> 86 87 <!-- sm:WTooltip ===================================================================== --> 88 <xsl0:template match="sm:WTooltip" mode="contentTpl"> 89 <span class="{si(@commonClass, @commonClass, 'ttCrossRef')}_a"> 90 <scTooltip> 91 <xsl0:attribute name="trigger"><xsl0:value-of select="si(sm:tooltip/@trigger, sm:tooltip/@trigger, 'onmouseover')"/></xsl0:attribute> 92 <xsl0:attribute name="class"><xsl0:value-of select="si(@commonClass, @commonClass, 'ttCrossRef')"/></xsl0:attribute> 93 <xsl0:attribute name="options"><xsl0:value-of select="si(sm:tooltip/@displayOptions, sm:tooltip/@displayOptions, '')"/></xsl0:attribute> 94 <xsl0:if test="sm:tooltip/sm:ttTitle"><scTooltipTitle><span><xsl0:apply-templates select="sm:tooltip/sm:ttTitle/node()" mode="contentTpl"/></span></scTooltipTitle></xsl0:if> 95 <xsl0:if test="sm:tooltip/sm:ttContent"><scTooltipContent><span><xsl0:apply-templates select="sm:tooltip/sm:ttContent/node()" mode="contentTpl"/></span></scTooltipContent></xsl0:if> 96 </scTooltip> 97 <xsl0:choose> 98 <xsl0:when test="count(sm:label/node()) = 0"> </xsl0:when> 99 <xsl0:otherwise><xsl0:apply-templates select="sm:label/node()" mode="contentTpl"/></xsl0:otherwise> 100 </xsl0:choose></span> 101 </xsl0:template> 102 103 104 63 105 <xsl0:template match="sm:titlePageCaller" mode="contentTpl"> 64 106 <xsl:value-of select="@titlePage" />
Note: See TracChangeset
for help on using the changeset viewer.