String[] rowClasses = new String[0];
if (rowClassesList != null) {
rowClasses = rowClassesList.split("[,|/]");
}
final CollectionFacet facet = collection.getSpecification().getFacet(CollectionFacet.class);
if (facet.size(collection) == 0) {
request.skipUntilClose();
} else {
final Iterator<ObjectAdapter> iterator = facet.iterator(collection);
int row = 0;
while (iterator.hasNext()) {
final ObjectAdapter element = iterator.next();
context.addVariable("row", "" + (row + 1), Scope.REQUEST);
if (rowClassesList != null) {