Page 1 of 1

How can I do to know if the action was canceled by user ?

Posted: Thu Aug 09, 2012 5:24 pm
by sebastienlavandier
Hello,

During a Drag'nDrop action where I use insertXMLFragmentSchemaAware(), a dialog box is open and offers some solutions. When I click on the cancel buton, an AuthorOperationException is thrown. But how can I do to know if the action was canceled by user ?

Do you have some ideas ?
Thanks in advance for your answers.

Re: How can I do to know if the action was canceled by user ?

Posted: Thu Aug 09, 2012 5:34 pm
by Radu
Hi,

I think that if the user cancels the operation, the exception will be an instance of AuthorOperationStoppedByUserException.

Regards,
Radu

Re: How can I do to know if the action was canceled by user ?

Posted: Fri Aug 10, 2012 12:04 pm
by sebastienlavandier
Hello,

thanks you for your answer.
regards