0 Replies Latest reply on Mar 31, 2008 5:39 AM by alex.alvarez

    Dynamically creating rich tabs

    alex.alvarez

      Hi All,

      i'm trying to create dynamic tabs

      
      <rich:tabPanel switchType="server" selectedTab="#{manageRights.selectedTabs}">
       <c:forEach items="#{manageRights.applications}" var="app">
       <rich:tab id="A#{app.id}" name="A#{app.id}" label="#{app.name}" >
      
      <rich:tabPanel switchType="server">
       <rich:tab label="Edit/Create User(s)">
       <ui:include src="userAdmin.xhtml" />
       </rich:tab>
      
      



      inside userAdmin i have a rich tree, where i get the following problems:

      1) if I put an id i get the repeated id problem
      2) in the tree the nodeSelectListener isn't fired inmediatly after selecting the node but rather the call gets queued and then if i expand the node, the events gets fired

      any ideas?

      Alex