Skinning keys that end in 'icon' or 'Icon:alias' are considered icons. And icons can be TextIcon or ImageIcons,
and they get rendered into the page as text or <img> elements.

If it doesn't have an 'icon' at the end, then that means it will be generated as a regular styleclass.
So you can use css's 'background-image' to give it an image.

I haven't looked closely at the TreeRenderer, so I don't know if there are other issues. I just
wanted to comment on the skinning keys and what you can set in them.

Thanks,
Jeanne

Carsten Pieper wrote:
Hi, 

methinks this one might be related to TRINIDAD-655 (the same method
TreeRenderer.renderExpandCell(...) method is involved...):

The selector .p_OraTreeDisclosedSymbol (note that there is nothing like
.p_OraTreeUndisclosedSymbol!) can be used to change color or font-size of
the unicode text values (see JIRA description below), but it doesn't
interpret the property "content", e.g.

content: ">"
or 
content: url(/myImages/myDiscloseIcon.gif);

Looks like a bug to me or are there any reasons for this
implementation/behaviour?

If it's a bug, should it be a JIRA of its own or should it be "included" in
TRINIDAD-655?

Best regards,
Carsten


My Faces - Dev mailing list wrote:
  
af|navigationTree::disclosed-icon and af|navigationTree::undisclosed-icon
are not used
--------------------------------------------------------------------------------------

                 Key: TRINIDAD-655
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-655
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.0.2-core
            Reporter: Andrew Robinson


Despite documentation saying that af|navigationTree::disclosed-icon and
af|navigationTree::undisclosed-icon may be used to style the
navigationTree icons, they are not used by the current renderer which
hard-codes the icons to unicode text values in the renderExpandCell method
of TreeRenderer

Documented at:

http://myfaces.apache.org/trinidad/skin-selectors.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



    

  

Reply via email to