PATH
WORepetition
Synopsis
WORepetition {list=anObjectList; item=anIteratedObject; [index=aNumber;] [identifier=aString;] ... };WORepetition {count=aNumber; [index=aNumber;] ... };
Description
A WORepetition is a container element that repeats its contents (that is, everything between the <WEBOBJECT...> and </WEBOBJECT...> tags in the template file) a given number of times. You can use a WORepetition to create dynamically generated ordered and unordered lists or banks of check boxes or radio buttons.
list
Array of objects that the WORepetition will iterate through.
item
Current item in the list array. (This attribute's value is updated with each iteration.)
index
Index of the current iteration of the WORepetition. (This attribute's value is updated with each iteration.
count
Number of times this element will repeat its contents.
Copyright © 1998, Apple Computer, Inc. All rights reserved.