AnsweredAssumed Answered

How to Rollback the webscript not using WebScriptException?

Question asked by kasperba on Jun 26, 2007
Latest reply on Jun 27, 2007 by kasperba
How do I make Alfresco rollback the transaction when my DeclarativeWebscript discovers an error?

All my REST-calls return an XML (with the Freemaker Template) that has a standard format containing a status-tag. So I am not interested in the error generated when the WebScriptException is thrown.

Can I call a specific function in java or should I override the WebScriptException?

Outcomes