Cristi,
thanks. I'll have a look at the beach.css and try to understand what I
did wrong.
Frank
Cristi Toth wrote:
As Matthias said, the changes were comitted in december.
And as I said "a good example you find in the trinidad-demo
the node class is DemoTreeData and the skin file is beach.css"
Give more details about your problem so I can help you.
regards,
On Jan 29, 2008 9:33 AM, Frank Nimphius < [EMAIL PROTECTED]>
wrote:
Thanks Cristi,
did you just check in the changes, or are they in 1.2.5 of Trinidad
already ? I am asking because I was testing the skin with the Trinidad
component demo
Frank
Cristi Toth wrote:
Hey Frank,
Sorry for me beeing not attentive.
The code is comitted and should work.
But for the nice node icons (folder/document/...) to work,
you need to have in your tree node class a getNodeType() method
that returns for each node it's type (String)
i.e. if for one node the method returns "folder"
then you will have the following selectors:
af|tree::node-icon:folder-collapsed (for a collapsed node - if it has
children)
af|tree::node-icon:folder-expanded (for an expanded node - if it has
children)
af|tree::node-icon:folder (for a node that doesn't have children)
this way you could skin each node different,
just by changing the value returned by getNodeType() method.
A good example you find in the trinidad-demo
the node class is DemoTreeData and the skin file is beach.css
Sorry for the late answer and hope to be of some help.
On Jan 23, 2008 7:45 PM, Frank Nimphius < [EMAIL PROTECTED]>
wrote:
I am trying to skin the trinidad tree so it looks like the ADF Faces
tree. Looks good so far, but I am struggeling with the folder icon. I
downloaded Trinidad 1.2.5 (the latest release). Looking at the
treeRenderer and the SkinSelector class, it appears (as I understand the
code) that the tree folder icon is composed as
af|tree::node-icon:-collapsed{content:url('/skins/oracle/images/tfold.gif');}
af|tree::node-icon:-expanded{content:url('/skins/oracle/images/tfold.gif');}
This doesn't work and also looks strange. Can whoever built the
treeRenderer have a look to verify if its me or the code?
Frank
--
________________________________
Frank Nimphius
Principal Product Manager
Application Development Tools
Oracle Corporation
mail: [EMAIL PROTECTED]
phone:+49 2058 782481
--
Cristi Toth
-------------
Codebeat
www.codebeat.ro
--
________________________________
Frank Nimphius
Principal Product Manager
Application Development Tools
Oracle Corporation
mail: [EMAIL PROTECTED]
phone:+49 2058 782481
--
Cristi Toth
-------------
Codebeat
www.codebeat.ro
--
________________________________
Frank Nimphius
Principal Product Manager
Application Development Tools
Oracle Corporation
mail: [EMAIL PROTECTED]
phone:+49 2058 782481
|