4 Replies Latest reply on Sep 22, 2008 7:22 AM by jwisnie3

    Turning off richfaces styles

      Hi,

      How can i prevent adding richfaces styles to richface element?

      Example:

      When i use rich:dataTable element, generated html table code contains some richfaces style classes:

      <table class="dr-table rich-table ...


      JW

        • 1. Re: Turning off richfaces styles
          ilya_shaikovsky

          You could turn off styles applying (using NONE skin). But class names generation could not be prevented.

          • 2. Re: Turning off richfaces styles

             

            "ilya_shaikovsky" wrote:
            You could turn off styles applying (using NONE skin). But class names generation could not be prevented.


            First, how to use NONE skin? Setting org.richfaces.SKIN param to "NONE" or leaving it empty doesnt work.

            Secound, i thought skins contains only color settings. What about other css parameters like borders or text-weight.

            JW

            • 3. Re: Turning off richfaces styles
              ilya_shaikovsky

              sorry.. I was mistaken. Not none but plain. You could check the result of this skin applying on our demo. You'll fully responsible for styles definition.

              Second. No not only colors but the params you've mentioned also defined within our skins classes.

              • 4. Re: Turning off richfaces styles

                 

                "ilya_shaikovsky" wrote:
                sorry.. I was mistaken. Not <b>none</b> but <b>plain</b>. You could check the result of this skin applying on our demo. You'll fully responsible for styles definition.

                Second. No not only colors but the params you've mentioned also defined within our skins classes.


                This worked pretty good, thanks.
                Still there are some css paramters set, like padding, but it wont be a big problem for me.

                JW