It's component.getChildren().add(child)
On 11/24/05, Dave <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to contruct a faces view(tree) programmatically(not using tags). > Why there is no method to add child components in UIComponent(or its > subclasses)? > > I have a variable number of names(List<String>) that are rendered as > commandLink(s) in one line. > Name1, Name2, Name3, ... NameN > > UIPanel > CommandLink1, > CommandLink2 > ... > > If I have the reference to UIPanel, can I get the String value to render it > using <h:outputText>? > > dataTable or dataList can not render them in one horizontal line, can it? > Thanks for ideas/suggestions. > > Dave > > > > ________________________________ > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > >

