ui:repeat and h:panelGrid

Spread the love

Question Description

When using something like


with lets say 10 list entries I only get 1 row e.g.: one tr with 1 td whereas when I use c:forEach i get 10 (but c:forEach is in fact evil, it messes up everything with ajax)

I use mojarra 1.2 – is this a typical Mojarra bug which does not exist in the MyFaces implementation? Will it disappear in 2.x of the Mojarra releases?

Practice As Follows

The output is fully as expected and specified. The is a render time tag, not a view build time tag like . After building the view, ends up with 1 child component (the itself), not with n components like as with .

You need a instead. It’s designed for exactly this purpose.


See also:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.