I'm new to java, jsf and richfaces, I'm trying to use HtmlTabPanel, binding it to a bean with a method that returns an HtmlTabPanel. The TabPanel works correctly just setting the tabs manually and everything in my .jspx page ( without binding ). but when i try to create one using binding, i get the following error.
"Component frmMain:_id59 not instance of org.richfaces.component.UITabPanel"
in .jspx page i have:
......
<rich:tabPanel binding="#{tapeEntry.tabPanel}">
</rich:tabPanel>
.......
in bean i have:
.....
public HtmlTabPanel getTabPanel()
{
tabPanel = new HtmlTabPanel();
return tabPanel;
}
.....
I'm not sure what's going on, any help would be appreciated.
Thank you.
Bryan