How can I add text to an automatically made form ?
Basically you can't do it automatically, but there are of course a lot of
different possiblities to archive that:
I would suggest that you create a custom component that is rendering the
text string and the Magritte form as a child.
Or you could also use the validation decoration to do this using a custom
exception class (see MAValidationDecoration and undo the changes we did
together today).
Yet another possibility would be to add a readonly field that accesses a
dynamically created from your model object. What you have to take care is
that Magritte caches values and assumes that the model object doesn't change
while it displays a form. But you can change this behaviour by using a
different Memento class, have a look at the references of MAMemento
subclasses.
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch