Hi Chad,
welcome to the list and thanks for answering your question ;-)
getPerson
^self call: (MAPersonModel new asComponent
addValidatedForm;
yourself).
Indeed you have to use Seaside decorations to add a validation-
handler and a form handler. This allows to customize those two
aspects, say if you want multiple Magritte components within one
form, different button labels, different button actions, different
error handling, etc.
I can see Magritte being a big help when building a
questionnaire or
survey application which involves many input forms.
Certainly, but there are many more thing you can do: building
reports, reflecting about model objects, letting users build their
own forms from custom descriptions, ...
Letting users customize descriptions can be done like ...
model := MAScaffolder description: MAPersonModel description.
model asComponent
-> an editor onto the model-object
model description asComponent
-> an editor onto the description (meta-model)
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch