3 Replies Latest reply on Feb 13, 2008 1:26 PM by Michael Plotke

    RichTabPanel nesting problem

    Michael Plotke Newbie

      I'm getting an HTTP 500 error whenever I try to make even the simplest tabPanel. It tells me the tabs "are not nested within UITabPanel".

      javax.faces.FacesException: The component: _id0:_id2 is not nested within UITabPanel

      Here is the code, it's very basic:

      <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
       <rich:tab label="First">
       Here is tab #1
       <rich:tab label="Second">
       Here is tab #2
       <rich:tab label="Third">
       Here is tab #3

      Thank you in advance for any help.