You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jeremy Sager <js...@chessys.com> on 2005/11/29 18:20:42 UTC

Adding a "page" back into a component

For reasons too long to go into, I have a tabbed pane that I am creating
programmatically using a value binding expression in my JSF tag like so:

<t:panelTabbedPane binding="#{editorPanelBean.pane}"/>

Now, in the getPane method of my bean, I use the Application class to create
my pane and a child tab:

UIComponent pane = app.createComponent(TABBEDPANE);
UIComponent childtab = app.createComponent(PANELTAB);		
HtmlPanelTab tab = (HtmlPanelTab) childtab;

Now, I want to start adding contents to my child tab... am I locked into
doing it programmatically or is it possible to somehow refer back to a page
with tags to generate the contents of the tab?

Thanks in advance,

Jeremy Sager
Data Communications Product Manager
Chesapeake System Solutions
410.356.6805 x120
JSager@chessys.com