Hi,

Within my layout view portlet I would like to create a tooltip option
for elements with a certain class. To do so I was thinking to create a
custom node style inc tool code in the SVG.
First I applied in the SVG code of a regular element and I succeed. When
I apply it via a nodestyle I seem to bind the dname somewhere in the
code. Here is my regular code that works


Code:
--------------------
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?><svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" xmlns:bind="http://www.managedobjects.com/bind" MOS_PanX="0" contentScriptType="text/ecmascript" zoomAndPan="magnify" MOS_PanY="0" contentStyleType="text/css" dname="org=elementen3/gen_folder=dev/root=Generational+Models/root=Services" version="1.0" dname_relid="6" preserveAspectRatio="xMidYMid meet" MOS_EnableMouseEvents="true" MOS_World="0" MOS_Scale="1.0" overflow="visible">
<g>
<circle fill="rgb(255,0,0)" undofill="#c0c0c0" filter="none" stroke-dasharray="none" r="63" cx="353" cy="372" opacity="1" stroke="#000000" stroke-width="3">
<bind:fill property="condition" default="" set="" when=""/>
</circle>
<g tooltiptype="outer" preserveId="true" display="inline" transform="matrix( 1, 0, 0, 1, 95, 75)">
<g tooltiptype="inner" id="123456" preserveId="true">
<g>
<rect x="-3.0890298" y="57.86206" fill="white" text-anchor="middle" width="60.582684" height="16.289062" bind:container="true" stroke="gray" overflow="visible"/>
<bind:layout name="wrap" pad="2" id="103"/>
<text x="27" font-size="11px" y="70" fill="black" text-anchor="middle" gautolayout="103" stroke="none" overflow="visible" xml:space="preserve">elementen3<bind:value property="name"/></text>
</g>
</g>
</g>
</g>
</svg>
--------------------


someone an idea how to approach this?

Thanks in advance.


--
jvangassel
------------------------------------------------------------------------
jvangassel's Profile: https://forums.netiq.com/member.php?userid=2532
View this thread: https://forums.netiq.com/showthread.php?t=47701