How about
MAExternalFileModel using class instance vars rather than
Class Pool Vars to aid subclasses which have different directories.
This is true. I will have to change the class variables to class
instance variables.
I notice that #buildChildren calls #componentsOf:
twice and is the
only caller. Both methods call withContext: []
Yes, but with different arguments ;-)
One for the environment and one for the current page.
Cheers,
Lukas
self withContextDo: [] - is called in #buildChildren and in all of the
methods #buildChildren calls
or is being up all night getting to me?
Keith
also, how about:
MAFileUploadComponent-remove
remove
self value ifNotNilDo: [ :fileModel | fileModel delete ].
self value: nil
(and at least a dummy #delete method on MAFileModel)
for those file models which handle removal.