2 Replies Latest reply on May 16, 2007 3:43 AM by liumin hu

    exception in rich:tab

    liumin hu Master

      Hi,

      I use a facelet component in rich:panel to replace rich:tab, I get a exception. we have no right to do this?

      <rich:tab>
      <my:tab bean="#{bean}" />
      </rich:tab>
      


      here is my:tab

      <ui:component>
      <rich:tab label="#{bean.label}" action="#{bean.action}" rendered="#{bean.visible}"/>
      </ui:component>
      

      javax.faces.FacesException: UITab Recherchercomponent not inside in tab panel
       at org.richfaces.component.UITab.getPane(UITab.java:88)
       at org.richfaces.component.UITab.getSwitchType(UITab.java:161)
       at org.richfaces.renderkit.TabRendererBase.shouldRenderTab(TabRendererBase.java:86)
       at org.richfaces.renderkit.TabRendererBase.encodeBegin(TabRendererBase.java:94)
       at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515)
       at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:280)
       at org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262)
       at org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:284)
       at org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262)
       at org.