forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Created: (FOR-1127) Allow contracts to fail without provoking an abortion of structurer processing
Date Thu, 09 Oct 2008 11:06:46 GMT
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


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message