We now have an element that can render multiple related form input fields, and then
handle the aggregated fields as a single entity -- the dateOfBirth
element will be passed as an array to the element, and the element will then, as we
noted earlier, create the appropriate date segments and return a value we can use for
most backends.
Additionally, we can use different decorators with the element. If we wanted to use a
Dojo DateTextBox
dijit decorator -- which accepts and returns string values -- we can, with no
modifications to the element itself.
In the end, you get a uniform element API you can use to describe an element representing a composite value.




