This content has been marked as final.
Show 3 replies
-
1. Re: Creating rich:tabPanel from java code.
misqu23 Feb 25, 2008 11:30 AM (in response to misqu23)I've found a solution.
tab.getFacets().put("label", text1); -
2. Re: Creating rich:tabPanel from java code.
fillolo Jun 13, 2008 6:21 AM (in response to misqu23)Hi ,
this code doesn't works for me or I can't make it works.
If I use this code in my backing bean and in the JSF:<h:form id="packageOptions"> <rich:tabPanel switchType="client" binding="#{mybackingbean.tabPanelGenerated}"/> </h:form>
The page don't show anything in this section and in the server console I gettab panel has no enabled or rendered tabs!
"tabPanelGenerated" is your "tabPanel" and I've created it in this wayHtmlTabPanel tabPanelGenerated = new HtmlTabPanel();
What I'm doing wrong? Do I need to use seteRendered setDisable setActive methods or any other one in the tabs or in the panel? I've tried it but nothing seems to work.
Could you show me how you include this component in your page?
Thanks -
3. Re: Creating rich:tabPanel from java code.
fillolo Jun 13, 2008 9:00 AM (in response to misqu23)I solved it.
I was worng, you don't needHtmlTabPanel tabPanelGenerated = new HtmlTabPanel();
Thanks.