File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Dynamically creating richfaces tabs
Joined: Jun 30, 2006
Nov 10, 2007 12:29:00
I am trying to create tabs dynamically using the exadel richfaces tab component.
Has anyone been able to do dynamic tabs with richfaces?
If so some sample code would be great.
Joined: Feb 05, 2001
Nov 11, 2007 09:50:00
OK, unfortunately, I do not have any sample code to show.
But, I do have some suggestions. Yes you can dynamically create richfaces components in code, and it would look exactly like how you code dynamic core
components, but with different classes.
Since Richfaces is open source you can actually download the code and see what the classes are named and packaged. Also the Richfaces website has examples,
Here are their Javadocs
And here is the doc for the Richfaces Tab, it even has code sample for dynamically building a tab.
I can't say the docs are 100% clear and have every attribute documented, but it gets you started.
Perfect World Programming, LLC
How to Ask Questions the Smart Way FAQ
Joined: Sep 23, 2009
Sep 23, 2009 04:20:39
I've successfully done it. I used JSTL tag <c:forEach> for the iteration.
I agree. Here's the link:
subject: Dynamically creating richfaces tabs
how to retain rich:tabpanel's selectedTab
not able to create jsf tab panel dynamically
How can I add expression some code in XHTML (under faceletes)?
Rich Faces Tab
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015