2 Replies Latest reply on Apr 8, 2009 6:09 AM by Nick Belaevski

    Dynamic Tab generation

    Janakiram Narla Newbie

      Hi,
      Can we generate tabs dynamically?Here is my scnario.
      I have to generate tabs dynamically depending upon number of rows (ArrayList) returning by value attribute.

      <a:form id="smsParam_Form" >
      <rich:tabPanel id="smsParam_panel" width="100%"
      rendered="#{doSmsSettings.settingsType eq 'param'}"
      headerClass="headerFont">
      <a:repeat id="paramRepete" var="smsParam"
      rendered="#{not empty mobeeSmsParamList.getSmsParamList()}"
      value="#{mobeeSmsParamList.getSmsParamList()}">
      <rich:tab name="#{smsParam.groupName}" label="#{smsParam.groupName}">

      </rich:tab>
      </a:repeat>
      </rich:tabPanel>

      </a:form>

      But,when i am doing this a message ("tab panel has no enabled or rendered tabs!") is displaying on console.Can any one help me out.