webtier@glassfish.java.net

JSF&Facelets: Outputting Components to the view

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Tue, 24 Feb 2009 23:41:19 -0500

Hi All,

I've got a bean that is building a list of components, and I want to add
them to the display tree using a <ui:repeat>, but I'm having some
trouble. I can't get them to render.

                                <ui:repeat var="n" value="#{homeBean.notifications}">
                                        <li><h:outputText binding="#{n}" /></li>
                                </ui:repeat>

The components are simple HtmlOutputText components built dynamically in
Java. What is the best way to get these to be included as part of the
View?

Thanks,
Lincoln