Author |
Message |
30/08/2012 12:02:04
|
krinninger
Power User
Joined: 17/11/2008 21:19:41
Messages: 567
Offline
|
Hello,
treenode icons for openend, closed and endnode can not be defined by attribute at the moment.
Would it be possible to add attributes on treenode for it?
Regads,
Michael
|
|
|
31/08/2012 16:16:03
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5535
Offline
|
Hi,
yes, we will do so.
Should be in next update.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
02/09/2012 08:41:35
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5535
Offline
|
...just wanted to start implementation, and...: there is already an attribute STATUSIMAGE (there is event a demo in the demo workplace on this....) which replaces the default icons.
We improved the demo a bit, so that the image is loaded dyamically, depending from the node's status.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
03/09/2012 12:01:11
|
krinninger
Power User
Joined: 17/11/2008 21:19:41
Messages: 567
Offline
|
ok this would work.
but than i have to implement a path for all different kinds of treelists.
wp_workplacefunction tree etc.
wouldn't it be possibe to add a more static definition which can be defined in style for all treelists used in our applications?
Greetings,
Michael
|
|
|
04/09/2012 07:21:34
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5535
Offline
|
Hi,
yes, I believe you are right... ;-)
We now added three image attributes with the nice name FIXSTATUSIMAGEOPENED, FIXSTATUSIMAGECLOSED, FIXSTATUSIMAGEENDNODE.
Available with next update. (Interim Upload is on its way...).
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
10/07/2013 15:14:20
|
uwinter
Active
Joined: 10/06/2013 09:04:50
Messages: 6
Offline
|
Hi,
is it possible, that these attributes FIXSTATUSIMAGEOPENED, FIXSTATUSIMAGECLOSED and FIXSTATUSIMAGEENDNODE can not be changed via a style definition?
We tried the following definition.
Code:
<tag name="treenode">
<set attribute="fixstatusimageclosed" value="/images/treeFolderClosed.png"/>
<set attribute="fixstatusimageopened" value="/images/treeFolderOpen.png"/>
</tag>
Afterwards no icons were shown at all.
Regards
Ulrich
|
|
|
10/07/2013 15:44:23
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5535
Offline
|
...no, this should work.
You need to assign style variant "default" in your XML. Please compart with existing style.xml files.
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
10/07/2013 16:04:39
|
uwinter
Active
Joined: 10/06/2013 09:04:50
Messages: 6
Offline
|
Thanks for the quick answer. We will try this again. Maybe we missed the "default" in the xml.
|
|
|
|