4 Replies Latest reply on Jul 13, 2010 2:20 PM by David Miller

    rich:tabPanel

    David Miller Newbie

      Hi All,

       

      I am new to the community and have a question. I am working on a project that uses a rich:tabPanel, but I need the ability to use different styles for each tab header. For example, if the user has not completed one tab, I want the font in the header of that tab to appear red. Is there a way I can embed HTML into the label attribute, for example  <rich:tab label="#{MyBean.myText}"..... and in my backing bean setMyText("<span class="red">Tab 1</span>")? That doesn't seem to work because there isn't a way to escape the string. Any help?

       

      Thanks,

      Dave