Using repeat instead of forEach in facelets