• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tab Panel Question

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>");

OR

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?

Thanks!
Dave
reply
    Bookmark Topic Watch Topic
  • New Topic