2 Replies Latest reply on Apr 18, 2011 9:37 AM by mohamida

    richfaces 4 : RichFacesDataTableBackgroundOut

    mohamida

      i used this article to remove the gradient from the header

       

      but after i migrated my app from richfaces 3.3.3 to 4 , i can't remove the gradient anymore

       

      i changed my stylesheet file from this

       

      .rich-table, .rich-table-header, .rich-table-header-continue,
        .rich-table-footer, .rich-subtable-footer {
           background-image:none;
           background-color:transparent;
      }     
      
      

       

      to this:

       

      .rf-dt, .rf-dt-hdr, .rf-dt-hdr-c,
        .rf-dt-ftr, .rf-dt-sftr {
           background-image:none;
           background-color:transparent;
      }     
      

       

      Is there something esle i need to do ?

        • 1. Re: richfaces 4 : RichFacesDataTableBackgroundOut
          iabughosh

          set this param in web.xml to true :

          org.richfaces.CONTROL_SKINNING_CLASSES

           

          for more migration issues see this link :

          http://community.jboss.org/wiki/RichFacesMigrationGuide33x-4xMigration

          • 2. Re: richfaces 4 : RichFacesDataTableBackgroundOut
            mohamida

            i added param org.richfaces.enableControlSkinningClasses (and not org.richfaces.CONTROL_SKINNING_CLASSES), but nothing changed

             

            this is what i have in my web.xml:

             

                <context-param>

                    <param-name>org.richfaces.skin</param-name>

                    <param-value>blueSky</param-value>

                </context-param>

                <context-param>

                    <param-name>org.richfaces.enableControlSkinning</param-name>

                    <param-value>true</param-value>

                </context-param>

                <context-param>

                    <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>

                    <param-value>true</param-value>

                </context-param>

                <context-param>

                    <param-name>org.ajax4jsf.COMPRESS_STYLE</param-name>

                    <param-value>true</param-value>

                </context-param>

                <context-param>

                    <param-name>org.richfaces.enableControlSkinningClasses</param-name>

                    <param-value>true</param-value>

                </context-param>