2 Replies Latest reply on Feb 28, 2008 4:02 AM by Daniel Soneira

    Newbie Question: Plain Text in Rich:TabPanel

    Philipp Daumke Newbie

      Hi all,

      I couldn't find anything about it, so I now post it. Can anybody explain, why the String "Tab2" appears above the panels and not in the Second Tab? Just not possible to use plain text in rich:Tabs?

      I use myfaces1.2.2 and richfaces 3.1.4.

      Thanks for help
      Philipp

      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      
      <body>
      <f:view>
      <rich:tabPanel>
      <rich:tab>
      <h:outputText value="Tab1"></h:outputText>
      </rich:tab>
      <rich:tab>Tab2
      </rich:tab>
      </rich:tabPanel>
      </f:view>
      </body>