Project

General

Profile

« Previous | Next » 

Revision 1445

migration 3.6.003

View differences:

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">	&lt;xsl:overlay match="p | div[containWord(@class, 'resInFlow')] | ul[containWord(@class, 'sw_child_navList')]/li"&gt;
6
		&lt;xsl:attribute name="class"&gt;&lt;xsl:value-of select="si(getAttrOnCurrentElt('class'), getAttrOnCurrentElt('class'), @class)"/&gt; annotAnchor&lt;/xsl:attribute&gt;
7
		&lt;xsl:value-of select="execute(java:ensureIdOnCurrentResultElt($vDialog))"/&gt;
8
	&lt;/xsl:overlay&gt;</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">	&lt;xsl:overlay match="p | div[containWord(@class, 'resInFlow')] | ul[containWord(@class, 'sw_child_navList')]/li"&gt;
5
		&lt;xsl:attribute name="class"&gt;&lt;xsl:value-of select="si(getAttrOnCurrentElt('class'), getAttrOnCurrentElt('class'), @class)"/&gt; annotAnchor&lt;/xsl:attribute&gt;
6
		&lt;xsl:value-of select="execute(java:ensureIdOnCurrentResultElt($vDialog))"/&gt;
7
	&lt;/xsl:overlay&gt;</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