Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dynamic Tabbed Pane in JSF

843842Sep 3 2004 — edited Jul 28 2009
Just 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2009
Added on Sep 3 2004
6 comments
416 views