Revision 1445
Added by Antoine POURCHEZ over 12 years ago
annotBtn.uiwidget | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<sm:openUiWidget xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="annotBtn"> |
|
3 |
<sm:fillTemplateBuffers> |
|
4 |
<sm:standardLibrary codeLib="PaLib"/> |
|
5 |
<sm:postXslFragment keyXsl="xhtml"> <xsl:overlay match="p | div[containWord(@class, 'resInFlow')] | ul[containWord(@class, 'sw_child_navList')]/li"> |
|
6 |
<xsl:attribute name="class"><xsl:value-of select="si(getAttrOnCurrentElt('class'), getAttrOnCurrentElt('class'), @class)"/> annotAnchor</xsl:attribute> |
|
7 |
<xsl:value-of select="execute(java:ensureIdOnCurrentResultElt($vDialog))"/> |
|
8 |
</xsl:overlay></sm:postXslFragment> |
|
9 |
<sm:linkScript path="site/jslib/annot.js" pathFrom="rootPublishFiles" sortKey="annot"/> |
|
10 |
</sm:fillTemplateBuffers> |
|
11 |
<sm:content> |
|
12 |
<span xmlns="http://www.w3.org/1999/xhtml" id="annotBtn"> |
|
13 |
<a href="#" onclick="annot.toggleEditMode(this); return false;"> |
|
14 |
<span>Annotations</span> |
|
15 |
</a> |
|
16 |
</span> |
|
17 |
</sm:content> |
|
1 |
<?xml version="1.0" encoding="UTF-8"?><sm:openUiWidget xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" code="annotBtn"> |
|
2 |
<sm:fillTemplateBuffers> |
|
3 |
<sm:standardLibrary codeLib="PaLib"/> |
|
4 |
<sm:postXslFragment keyXsl="xhtml"> <xsl:overlay match="p | div[containWord(@class, 'resInFlow')] | ul[containWord(@class, 'sw_child_navList')]/li"> |
|
5 |
<xsl:attribute name="class"><xsl:value-of select="si(getAttrOnCurrentElt('class'), getAttrOnCurrentElt('class'), @class)"/> annotAnchor</xsl:attribute> |
|
6 |
<xsl:value-of select="execute(java:ensureIdOnCurrentResultElt($vDialog))"/> |
|
7 |
</xsl:overlay></sm:postXslFragment> |
|
8 |
<sm:linkScript path="site/jslib/annot.js" pathFrom="rootPublishFiles" sortKey="annot"/> |
|
9 |
</sm:fillTemplateBuffers> |
|
10 |
<sm:content> |
|
11 |
<span xmlns="http://www.w3.org/1999/xhtml" id="annotBtn"> |
|
12 |
<a href="#" onclick="annot.toggleEditMode(this); return false;"> |
|
13 |
<span>Annotations</span> |
|
14 |
</a> |
|
15 |
</span> |
|
16 |
</sm:content> |
|
18 | 17 |
</sm:openUiWidget> |
Also available in: Unified diff
migration 3.6.003