Hi,
Just wondering how people are handling the following problem.
After you commit your domain object in the form, and you call your dao/business layer to update the object on the server, how do you handle the case where the server update fails eg. due to server validation.
Once the form is committed, you lose the ability to revert your changes or even to try and save again. You could try and save before you commit, but most of my dao methods take my domain object as a parameter so i need the domain object with all the new values in there.
Hoping someone can share their experience/solution ?
Thanks
Huy


Reply With Quote
