Anyone know offhand how to create a description for a field that is another object with
it's own descriptions, or a collection of objects with their own descriptions?
Say I have
Object subclass: #Order
instanceVariableNames: 'number status lineItems address'
classVariableNames: ''
poolDictionaries: ''
category: 'Sample'
ok, number and status are easy...
Order class>>descriptionNumber
^(MAStringDescription selector: #number label: 'Order Number')
beRequired; beReadonly;
yourself
Order class>>descriptionStatus
^(MASingleSelectionDescription selector: #status label: 'Status')
options: self allStatuses;
beSorted;
yourself
but how do I describe address and lineItems, which are objects with their own descriptions
that I want to be on my forms when I ask anOrder asComponent for a web form?