[Seaside] magritte - reusing forms for creation and editing..
renggli at gmail.com
Sat Mar 6 22:48:59 UTC 2010
> if i define a component that renders the form to edit a selected item,
> can i also use this component in the creation of new objects?
Yes, you instantiate the new object normally and edit it with
Magritte. If the user cancels the operation you let the garbage
collector eat your object, otherwise you add the object to the model.
More information about the seaside