1 2 Previous Next 15 Replies Latest reply on Mar 5, 2008 8:50 AM by gszymanski Go to original post
      • 15. Re: tabPanel error while iterating tabs

        My solution works that way:

        <rich:tabPanel>
         <rich:tabs label="#{item.label}" value="#{bean.items}" var="item">
         ...
         </rich:tabs>
        </rich:tabPanel>


        I create new comonent UITabs (extends UITab), and modify (just a little) only 3 classes:

        - TabPanelRendererBase (change activeTab to activeTabName, because it is better to recognize tab by name for the UITabs component)
        - TabRendererBase (encode UITabs in specific way)
        - UITabPanel (trick with TabsIterator)

        and of course tabPanel.xml (add tabs component)

        I prepare patches, tabPanelUITabs.jar and tabPanelDemoUITabs.war and sources. The solution work even if we have table inside UITabs with inputs (see attached war) .

        More: http://jira.jboss.com/jira/browse/RF-89

        1 2 Previous Next