Hi Jeanne, thank you very much for the useful insight!
Indeed, I can replace the unicode text symbol with an image that I "inject" via background-image. Alas, there's no way to define different images for disclosed and undisclosed state (as there is only the selector .p_OraTreeDisclosedSymbol and nothing like .p_OraTreeUndisclosedSymbol...). Best regards, Carsten Jeanne Waldman wrote: > > > > > > > > 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. > > > > > > > > > > > > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28TRINIDAD-655%29-af%7CnavigationTree%3A%3Adisclosed-icon-and-af%7CnavigationTree%3A%3Aundisclosed-icon-are-not-used-tf4338819.html#a12422392 Sent from the My Faces - Dev mailing list archive at Nabble.com.
