• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tab Panel Question  RSS feed

The David Miller
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!