[Seaside] Magritte component customization
Lukas Renggli
renggli at gmail.com
Tue May 8 19:05:25 UTC 2007
> (self model descriptionRequiredFields asComponentOn: self model)
> addValidatedForm: #( register cancel )
>
> What I am not sure about, is what is the proper way to do this extensions.
Class extensions.
> Should I subclass MAContainer and override #componentClass to make
> it return a subclass of MAContainerComponent (of my application) that
> implements the actions I need (like register in the example above) ?
This is also a possibility. Usually #register/#login does nothing else
than #save anyway, so it is usually not worth the trouble.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list