ui:repeat

ui:repeat iterates through a List, array, ResultSet or a single Object, encoding the children nested elements for each iteration. For these iterations you can use var attribute as the name of an scoped object that will be available for use.

General Usage

Use size if you want to delimit the number of iterations (should be less or equal from the total value elements), or step to only process those elements after the latest processed one. There is an interesting request variable that can be set in varStatus with some internal data about each iteration.
  • INDEX: 0, China
  • INDEX: 1, Switzerland
  • INDEX: 2, United States
  • INDEX: 3, United Kingdom
  • INDEX: 4, Vietnam

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20