Creates a value list element.
A values element takes an iterator as a nested element,
calls getNextValue() on it, calls getObject() on
the resulting value, and sets that object into context under the name given
by the id attribute.
dm:values is most commonly used with a nested
dmf:forEach element, which returns a value that
contains a
Values
object. The Values object, a collection that contains the
results of the forEach, is set into context, and can be
accessed later by the id attribute.
Element Information
| Element class | ValuesConfig |
| Implementation class | Values |
| Nested elements | iterator, |
Examples
<dm:values id="buildings">
<dmf:forEach>
<dm:list name="building">
...
</dm:list>
</dmf:forEach>
</dm:values>