How to repeat output of text via simple for loop in Facelets without model?
How to repeat output of some content in JSF using only standard tags (ui:, h: etc) ? In other words - how to do equivalent to PHP code below in JSF ? I immediately wanted to take advantage of ui:repeat , but it needs collection - I have only number. for ($i = 0; $i < 10; $i++) { echo "<div>content</div>"; } Either use <c:forEach> instead (true, mixing JSTL with JSF is sometimes frowned upon, but this should not harm in your particular case because you seem to want to create the view "statically"; it does not depend on any dynamic variables): xmlns:c="http://java.sun.com/jsp/jstl/core" ... <c