I have a big data model that I have split into around
10 model
classes, each with its own set of Magritte descriptions. Now I'd like
to put several of them into a single Magritte form. In other words, I
want to have the form fields of model 1 and model 2 on the same page,
but only one OK and one Cancel button. What would be the simplest way
to do that?
Another possibly to the already suggested one is the following:
Since #asComponent returns a simple Seaside component, you can compose
several of these components in one Seaside component. You can then
decorate the parent component with the Magritte form- and validation-
decoration and simply dispatch requests to validate and save to all
your child components.
Hope this helps?
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch