2 Replies Latest reply on Aug 2, 2007 7:42 AM by David David

    Problem skin rich:tabPanel

    David David Newbie

      Hi, i'm working with rich:tabpanel and my source is:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
      "http://www.w3.org/TR/html4/loose.dtd">
      <%@ page contentType="text/html;charset=windows-1252"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
      <f:view>


      <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
      principal

      .rich-tab-inactive {
      cursor: pointer;
      background-image: none;
      }
      .rich-tab-active {
      background-image: none;
      }
      .rich-tabpanel-content {
      background-color: white;
      }


      <rich:tabPanel id="panel1" switchType="ajax" selectedTab="t2">
      <rich:tab label="Etiqueta1" name="t1">
      <h:outputText value="Contenido 1"/>
      </rich:tab>
      <rich:tab label="Etiqueta2" name="t2">
      <h:outputText value="Contenido 2"/>
      </rich:tab>
      </rich:tabPanel>

      </f:view>

      it's works but don't apply any skin, shows:

      Etiqueta 1 Etiqueta2
      Contenido 2

      don't apply the skin, my source in web.xml is:

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

      <display-name>Ajax4jsf Filter</display-name>
      <filter-name>ajax4jsf</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>

      <filter-mapping>
      <filter-name>ajax4jsf</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      REQUEST
      FORWARD
      INCLUDE
      </filter-mapping>


      I'm working with:

      Libraries:
      richfaces 3.0.1
      ajax4jsf 1.1.1

      Development:
      Jdeveloper 10.1.3.3.0

      Navigators:
      Opera 9.21
      Firefox 2.0.0.5
      Internet Explorer 6.0.29 service pack 2

      thanks