The Table Model part stands in for collections of objects. Like the
Form Model part, the Table Model part defers changes in the UI until
explicitly sent to the application server. In Building the To-Do List with ULC, it is used to hold strings for a List part. In the
example below, it is used to hold Name instances for a Table
part:
In this tiny example, a get selector lazy-loads the instance variable names (an OrderedCollection) with a few Name objects. The attribute-from-script connection between the rows attribute of the Table Model part and the #names selector sets the Table Model part.
To associate the Table Model part with the Table part, connect the model attribute of the Table part and the self attribute of the Table Model part.
The Table part contains three Column parts. What makes the correct information appear in each column is its attributeName setting.
The finished example looks like this: