Hi Hussein, I have a case where a user may attempt to save their file after the dav lock has expired and the file has been locked by another user. When save fails, then entire macro chain is aborted with an EXECUTION CANCELED OR FAILED error. The problem in my case is that I want to undo all the user's attempted changes and reset the document to read-only (ie, back to the state they started in), but after a save failure I lose control of the situation.
I'm thinking I could create a custom java command that does the save attempt in the "prepare" phase, traps any errors, and simply returns false if the save is not successful. Do you think this approach is feasible? Can I trap a save exception there? If not, do you have any suggestions on how I might handle this? Thanks very much, Mark -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

