Hello Frank,

I see the following selectors in SkinSelectors:

  public static final String AF_TREE_EXPANDED_ICON =
    "af|tree::expanded-icon";
  public static final String AF_TREE_COLLAPSED_ICON =
    "af|tree::collapsed-icon";

So the good skin's CSS value should be:
af|tree::collapsed-icon{content:url('/skins/oracle/images/tfold.gif');}
af|tree::expanded-icon{content:url('/skins/oracle/images/tfold.gif');}


Also note that Trinidad deals with URL differently than ADF Faces so if the
images are in a sub-directory of the folder containing the skin's CSS file,
then you can use relative URL like the following to achieve the same result.
af|tree::collapsed-icon{content:url('images/tfold.gif');}
af|tree::expanded-icon{content:url('images/tfold.gif');}



Regards,

~ Simon

On Jan 23, 2008 1: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
>
>

Reply via email to