Dave wrote:
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>?

If you mean, can you find out what HTML that UIPanel component would send back to the user, then the answer is "not easily" I don't really know why you would want that.

dataTable or dataList can not render them in one horizontal line, can it? Thanks for ideas/suggestions.

Yes, dataList can render its children "in one horizontal line". When layout=simple, dataList just outputs its children like it was a plain for-list, with no layout wrapping the children - and "simple" is the default. So as long as the children generates HTML tags that are "span" type tags then they will automatically be output "on one line".

Regards,

Simon

Reply via email to