Mike,
Yes it is the general way to add jsf components to the tree but it was the only solution I found.
There is no similarities between panelTabbedPane and dataTable, that was what i hoped for.
Thanks
Gilles
Mike Kienenberger <[EMAIL PROTECTED]> a écrit sur 30/09/2005 18:58:35 :
> Gilles,
>
> I suspect that you were close to the right solution.
>
> If you use panelTabbedPane.getChildren().add(panelTab), it will
> probably do what you want. However, I'm just guessing based on my
> experience of adding columns to a dataTable rather than having
> actually looked at the code for panelTabbedPane and panelTab. But
> the above code is the general way to add jsf components to the tree.
>
> On 9/30/05, Gilles Doffe <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I became crazy about this problem :
> >
> > I want to create a panelTabbedPane with a number of panelTab which differs
> > each time I load the page.
> > I'm able to create in my java code an HtmlpanelTabbedPane and some
> > HtmlPanelTab but i don't know :
> > - how to add my HtmlPanelTab to my HtmlPanelTabbedPane.
> > - how to display it.
> >
> > I tried to bind my JSF panelTabbedPane to my HtmlPanelTabbedPane and to use
> > the method setParent of the HtmlPanelTab class but without success, it
> > displays nothing.
> >
> > Thanks a lot for help
> > Gilles
> > PS : Sorry for bad english ;)