6 Replies Latest reply on Apr 19, 2007 6:45 PM by sergeysmirnov

    Do not use skin, not working

    samanta.fernandez

      Hi, I already have a design in my site, I want to use richFaces only to add ajax, but not to use a skin. I've already set the skin to DEFAULT, and set the attribute "styleClass=" ..."', but my pages don't look as before.

      Should I configure something else?

      I'm starting to use this technology, so, it can be a very basic error...
      Thanks in advance.

        • 1. Re: Do not use skin, not working

          It sounds very strange for me. Skinability is a feature of particular components, but not the application. If you do not use such components, the look-n-feel of the application cannot be changed at all.
          So, most likely we can speak not about the skinability in your case. I probably, can say more if you provide more details what and when happens

          • 2. Re: Do not use skin, not working
            samanta.fernandez

            Found the problem, the code generated by richfaces doesn't use th and td for dataTables, as JSF did, so, my stylesheet doesn't match.
            I supose that I'm using the components the wrong way. will continue searching a way to especify differences between titles and data.

            • 3. Re: Do not use skin, not working

              yes, rich:dataTable can multi-rows header with rowspans and colspans in it. Also, the rich:dataTable can contain rich:subTable. While we developed we realized the th with its "bold" and "center" just impairs the default look-n-feel.
              Any elements in the rich:dataTable you can change with style classes

              • 4. Re: Do not use skin, not working
                javagirl901

                Hi,

                My problem is that skinability is not applied at all the rich components are displayed without styles.

                Im using JSF1.1 and tomcat 5

                and i have in web.xml

                <context-param>
                <param-name>org.ajax4jsf.SKIN</param-name>
                <param-value>DEFAULT</param-value>
                </context-param>

                any ideas?

                Thanks,

                • 5. Re: Do not use skin, not working
                  moldovan

                   

                  "javagirl901" wrote:
                  Hi,

                  My problem is that skinability is not applied at all the rich components are displayed without styles.

                  Im using JSF1.1 and tomcat 5

                  and i have in web.xml

                  <context-param>
                  <param-name>org.ajax4jsf.SKIN</param-name>
                  <param-value>DEFAULT</param-value>
                  </context-param>

                  any ideas?

                  Thanks,


                  I'm thinking with param-value "DEFAULT", you do not get a skin.

                  for testing, try your webapp with this entry:

                  <context-param>
                  <param-name>org.ajax4jsf.SKIN</param-name>
                  <param-value>blueSky</param-value>
                  </context-param>


                  Hope this helps!

                  • 6. Re: Do not use skin, not working

                     

                    "javagirl901" wrote:
                    Hi,

                    My problem is that skinability is not applied at all the rich components are displayed without styles.

                    Im using JSF1.1 and tomcat 5

                    and i have in web.xml

                    <context-param>
                    <param-name>org.ajax4jsf.SKIN</param-name>
                    <param-value>DEFAULT</param-value>
                    </context-param>

                    any ideas?

                    Thanks,


                    Based on other your posts, your problem has nothing to do with skin definition