Component Description
A WODictionaryRepetition is a container element that repeats
its contents (that is, everything between the <WEBOBJECT...>
and
</WEBOBJECT...>
tags
in the template file) for each entry in a dictionary. You can use
a WODictionaryRepetition to create dynamically generated unordered
lists or banks of check boxes or radio buttons.
Synopsis
WODictionaryRepetition {dictionary=aDictionary;
item=anObject; key=aString;
};
Bindings
- dictionary
- Dictionary of key/value pairs through which the WODictionaryRepetition
iterates.
- key
- Current key in the dictionary. This attribute's value
is updated with each iteration.
- item
- Current object corresponding to the key in the dictionary.
This attribute's value is updated with each iteration.