[ https://issues.apache.org/jira/browse/FOR-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Crossley updated FOR-1127: -------------------------------- Description: Imagine contract "xyz" will fail. Now we throw an exception and abort processing. However it may be desirable that the process continues since the contract may not be critical for the overall result. This is a nice possible future feature. One can imagine to use an @critical='true|false' to indicate whether to fail or not. e.g. <forrest:contract critical="false" name="siteinfo-meta-navigation" dataURI="cocoon://#{$getRequest}.navigation.xml"/> with this tag the dispatcher will not fail if the contact fails. was: Imaging contract "xyz" will fail. Now we throw an exception and abort processing. However it may be desirable that the process continues since the contract may not be critical for the overall result. This is a nice possible future feature. One can imaging to use an @critical='true|false' to indicate whether to fail or not. e.g. <forrest:contract critical="false" name="siteinfo-meta-navigation" dataURI="cocoon://#{$getRequest}.navigation.xml"/> with this tag the dispatcher will not fail if the contact fails. > Allow contracts to fail without provoking an abortion of structurer processing > ------------------------------------------------------------------------------ > > Key: FOR-1127 > URL: https://issues.apache.org/jira/browse/FOR-1127 > Project: Forrest > Issue Type: New Feature > Components: Plugin: internal.dispatcher > Reporter: Thorsten Scherler > Priority: Minor > > Imagine contract "xyz" will fail. Now we throw an exception and abort > processing. > However it may be desirable that the process continues since the contract may > not be critical for the overall result. > This is a nice possible future feature. One can imagine to use an > @critical='true|false' to indicate whether to fail or not. > e.g. > <forrest:contract > critical="false" > name="siteinfo-meta-navigation" > dataURI="cocoon://#{$getRequest}.navigation.xml"/> > with this tag the dispatcher will not fail if the contact fails. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.