Dynamic Tabbed Pane in JSF
843842Sep 3 2004 — edited Jul 28 2009Just getting up to speed in JSF, and would like someone to validate my idea for creating a dynamic tabbedPane. I haven't been able to find a working example on the web.
The idea is that a backing bean exists that has methods for returning lists of tab names and tab id's, along with a getNumTabs method.
The faces .jsp will create the tabbed pane first, along with the correct number of tabs (from the getNumTabs method). After that, the <c:forEach> tag iterates through the tabs, giving them the proper names and setting them up.
Does that sound workable? Any better way of doing it?
TIA