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] Updated: (FOR-1127) Allow contracts to fail without provoking an abortion of structurer processing
Date Thu, 09 Oct 2008 17:28:44 GMT

     [ https://issues.apache.org/jira/browse/FOR-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thorsten Scherler 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 contract fails.

  was:
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.


> 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 contract 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