Hi All,
i work with Squeak and Magritte.
I have create my personal component "SUAddress"
subclass of MAElementComponent.
And define the relative MAAddressDescription
subclass of MAElementDescription with methods:
kind ^
OrderedCollection
defaultComponentClasses
^Array with: SUAddress
After i define in TestClass with:
descriptionAddress
based on MAAddressDescription on addressData
and descriptionText based on
MAStringDescription on textData.
Now when call: anTestClass asComponent
addValidateForm; addMessage: 'message' ; yourself all work fine.
The problem is when in the form i do change
on my component and after i clic the cancel button.
In this case the addressData result update to
the change do in the form, and not to the last correct state.
The textData in this case work fine.
Where i wrong ?
Any
pointers would be greatly
appreciated!
Thanks!
Dario