Hi all,
i am using RF 3.3.with facelet. In my application i am generating Tabs when user clicks on tree node. This works fine. but when a tab generates i want another xhtml page to view in that tab.
Following code generates tab
FacesContext facesContext = FacesContext.getCurrentInstance();
Application application = facesContext.getApplication();
HtmlTab tab=(HtmlTab)application.createComponent(HtmlTab.COMPONENT_TYPE);
tab.setLabel("Tree");
bean.getTabPanel().getChildren().add(tab);
using this code tab generated even label also displays on tab. But how to display abc.xhtml page contents in tab.?
-Balaji
is above way correct to create dynamic tab.
How to add details in tab, generated dynamically?