I think it a big shortage that JSF don't have tag for component iteration such c:foreach? I need some dynamically generated menuItem, and a4j:repeat seams unworkable too. What tags or methods should be employed?
Use c:forEach if you have a facelets in your environment. Otherwise, do it in java code. a4j:repeat is absolutely unsuitable for this kind of operations.