This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes Tab Panel Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Tab Panel Question" Watch "Tab Panel Question" New topic

Tab Panel Question

The David Miller

Joined: Jul 09, 2010
Posts: 3
Hi all,

This is my very first post :-) I have a question about the richFace tabPanel, and was hoping one of you JSF/richFace experts could answer.

I have a richface tabPanel, and want to be able to control the color of the text on the tab's label:

<rich:tab label="#{MyBean.tabLabel}"....

In my backing bean:

setTabLabel("<span class = \"red\">Red Label</span>");


setTabLabel("<span class = \"green\">Green Label</span>");

However, I don't think there is a way to set "escape = false". I've also tried using <h; and >, however it just prints out the characters. Any suggestions on how to change the font/color?

Don't get me started about those stupid light bulbs.
subject: Tab Panel Question
Similar Threads
Struts2 with JSF and RichFace
Problem with Richface
richface tree example
Popuppanel+datatable in richface(JSF)
Richface/Primefaces Elements are not rendered