Hi!
I have an application with Users that are voyage roots. Those Users can
have a object X that is also voyage roots.
I created a web application where a User can create an object X and save
it. But now I want to adapt the component to edit an existing X object.
What I have in mind is that I can copy the instance of X, let the user
change it and save the changes if the user click on "Edit" or discard
the changes if it click on "Cancel".
But I don't know how really works the update in Voyage. If I send "save"
to the copy of X, will it replace X inside the DB? Or should I create a
method "updateFrom:" in X to change all his variable to match the ones
from the parameter and then send "save" to the real X object?
Thanks
--
Cyril Ferlicot
http://www.synectique.eu2 rue Jacques Prévert 01,
59650 Villeneuve d'ascq France