Hello everybody!
Im trying to display some hierarchies in a Network ui element. Generally, this works fine, but I'm not able to display icons with the elements inside the applet. The examples in the JNet/JGantt Developer Documentation use <icon/>-tags with the path to a gif file in the Type Repository section like this
<typename="SomeTypeName"inherits="SomeBaseTypeName">
<iconspace="5">apps/orgchart/chief.gif</icon>
</type>
and theType Repository documentation tells me to
Specify the relative address of the URL in relation to the code base of JNet.jar
(a file in your own JAR. file: apps/slm/icon.gif
, for example). If
the relative path starts with apps
, JNet automatically adds the
missing com/sap/jnet
. We recommend that you use the relative path
wherever possible, because you can store the icon graphics in the same directory
in Perforce as the type repository.
But how would I determine the relative address of my icon files stored in my web dynpros src/mimes/components/<component name>-folder inside my WebDynpro jar/ear/whatever in relation to the code base of the JNet.jar which - I guess - would reside inside the WebDynpro runtime or somewhere else on the server, but not inside my own jar ? Or am I wrong about this ?
Thanks a lot
Michael