4 Replies Latest reply on Jan 28, 2013 12:09 AM by javaxchange

    tabPanel

    kristein_s

      Hi,
      How to change the tabPanel default styleClass.
      please some one provide me with an example.

      thanks in advance.

        • 1. Re: tabPanel
          snsancar

          Hi Kristein,

           

          Did you get any idea how to do this?

           

          even i am looking for a solution to change the tab header color for all the active tabs.

          • 2. Re: tabPanel
            bleathem

            Have you guys looked at the VDL doc for the tabPanel?

            http://docs.jboss.org/richfaces/latest_4_X/vdldoc/rich/tabPanel.html

             

            @Kristein Rutherford: I believe you are looking for the styleClass attribute

             

            @Shankar N: I believe you are looking for the tabActiveHeaderClass attribute

            • 3. Re: tabPanel
              snsancar

              HI Brian,

               

              is tabActiveHeaderClass available in the Richfaces 3.3?

               

              i am using Richfaces 3.3 not 4.x.

              • 4. Re: tabPanel
                javaxchange

                Hi Kristien & Shankar,

                 

                If not already done, you can acheive this by overriding the default syle classes provided by richfaces.

                 

                Keep the required style attributes in below classes,

                 

                rf-tbp {}

                rf-tab-hdr {}

                rf-tab-hdr-act {} 

                rf-tab-hdr-inact {} 

                rf-tab-hdr-top {}

                 

                 

                 

                 

                 

                With IE developer toolbar you can easily findout the default style classes used for each component.