6 Replies Latest reply on Apr 4, 2007 8:10 AM by Ilya Shaikovsky

    question about rich:tabpanel

    liumin hu Master

      hello everyone,

      i have a simple example with rich:tabpanel:

      <rich:tabPanel id="pagePatient" switchType="ajax">
      <my:Onglet onglet="#{DataTableDossierPatient}">
      some text
      </my:onglet>
      <my:Onglet onglet="#{parameter}">
      <ui:include src="./a.xhtml">
      </my:onglet>
      </rich:tabpanel>

      here is my:onglet:

      <c:if test="${not (empty onglet)}">
      <rich:tab label="#{onglet.libelle}" action="#{onglet.actionOnglet}" disabled="#{onglet.disable}" rendered="#{onglet.visible}">
      <ui:insert />
      </rich:tab>
      </c:if>

      this works when swich mode is client, it does not work when switch mode is ajax. i cant switch between tabs. just like some valide error.

      but when i replace <ui:include > with some text. it works too in mode ajax. i dont know it comes from facelet (i m new for it) or richface.

      any idea

      thanks in advance

      liumin