8 Replies Latest reply on Apr 21, 2007 10:51 AM by Rawan Barakat

    Rich Faces are not rendered correctly

    Rawan Barakat Newbie

      hi,

      I installed richfaces jars and i am trying to use rich:tabPanel

      i am testing this code
      <rich:tabPanel>
      <rich:tab label="First">
      Here is tab #1
      </rich:tab>
      <rich:tab label="Second">
      Here is tab #2
      </rich:tab>
      <rich:tab label="Third">
      Here is tab #3
      </rich:tab>
      </rich:tabPanel>

      but the jsp page displayed is not showing the tabPanel
      it is showing it like this

      First

      Second

      Third



      Here is tab #1 Here is tab #2 Here is tab #3

      any Idea what might the problem be????

      here is what i added in my web.xml

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


      <context-param>
      <param-name>forceparser</param-name>
      <param-value>true</param-value>
      </context-param>

      <context-param>
      <param-name>enable-cache</param-name>
      <param-value>true</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>FacesServlet</servlet-name>
      REQUEST
      FORWARD
      INCLUDE
      <!-- <url-pattern>/*</url-pattern> -->
      </filter-mapping>

      Thanks,
      --Java Girl