Iterate « Facelets « JSF Q&A

1. Iterate within

I have a @ViewScoped bean with a List<String> containing plain HTML. I want to iterate over this list and output plain html:

<c:forEach items="#{bean.list}" var="html">
That snippet above works well but ...

2. How to iterate over two arrays in one ui:repeat?

I need insert the value in the 'title' attribute but I'm wondering how do that, it should be something like:

<ui:repeat //..>
    <h:graphicImage library="images" name="#{image}" title="#{title}" />
I ...