Iterator Examples Introduction <forCategories> <forColumns> |
The application data used for the examples of this page is stored in application
attribute athletes
. athletes
is a collection of AthleteInfo
objects (name, country, sport) sorted by country, sport, and name.
This example simply displays the Athletes collection using tag <forEach>,
so that you can use this as the baseline to compare with the more sophisticated
examples below.
This example displays the items in the athletes
collection, using
a single level of categories. The athletes are listed by country.
This example displays the items in the athletes
collection, using
2 nested levels of categories. The athletes are listed by country, and then by
sport they practice.
This example displays the items in the athletes
collection, using
3 levels of categories. The athletes are listed by country, by
sport they practice, and by gender.