Ok solved it...
I can implement read:Using: etc. on the command to delegate all accesses
to the model.
Keith
I am trying, and failing, to create a command that
acts upon a model.
When a command calls asComponent it usually gives itself as a model.
If I do:
asComponent
^ (model description asComponentOn: model)
addValidatedForm: (Array with: #save -> 'Confirm' with: #cancel);
yourself
Instead then everything works fine until the container component answers
the model, and the answer handler is expecting aCommand not an instance
of some other class
Any ideas would be appreciated.
Keith