Thanks for the reply Micke,
I understand how that could use that to make the "<<" into a different font or style. But I do not think I could use this to make it an image of an arrow that changes
I could change the font to the same color as the background and use an arrow background image. But that image wouldn't change when the user clicked on it.
I'd need like 2 classes, one open and one closed to pull that off. "rich-stglpnl-marker-open" and "rich-stglpnl-marker-closed".
Would have been nice with a couple of facets :)
Now that I had another look at the documentation I noticed that it didn't work as I thought either.
I have a toggle panel that shows a + or - sign depending on whether the panel is open or closed. Just put a graphic image in the toggleControl
Like this ...
<facet> <panelGrid> <toggleControl> <graphicImage/> </toggleControl> <outputText> </panelGrid> </facet>
I'm just trying to get rid of the >> and << chars. Im using: label="Toggle" and the "Toggle" text is displayed. Unfortunately, so is the >>/<< chars.
Try closeMarker/openMarker facets.
Thanks for the help. However, I decided to go for conditional rendering of the parts I want to show/hide.