1 Reply Latest reply on Apr 7, 2008 4:49 AM by craftsman

    Tabs not rendering in a tabPanel

    newbie000

      I have been stuck on this for sometime now. I am using JBoss Developer Studio and the versions bundles with it.

      I have a main.xhtml file that has a tabPanel. However, it doesn't display the tabs, all of the tab content on one page. I have no idea what I am doing wrong, can anyone help? Code below:

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:a="https://ajax4jsf.dev.java.net/ajax"
      xmlns:rich="http://richfaces.org/rich">



      <rich:tabPanel>
      <rich:tab label="Tab 1">
      <h:form>
      Tab 1
      </h:form>
      </rich:tab>
      <rich:tab label="Tab 2">
      <h:form>
      Tab 2
      </h:form>
      </rich:tab>
      </rich:tabPanel>


      </ui:composition>