[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
treenode icons as attribute  XML
Forum Index -> Development
Author Message
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
CaptainCasa

Power User
[Avatar]

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
CaptainCasa

Power User
[Avatar]

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
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
CaptainCasa

Power User
[Avatar]

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
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
CaptainCasa

Power User
[Avatar]

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
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.
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team