[ 
http://www.stripesframework.org/jira/browse/STS-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter closed STS-82.
-------------------------


> handleValidationErrors() should be called even if validate() is the source of 
> the errors
> ----------------------------------------------------------------------------------------
>
>                 Key: STS-82
>                 URL: http://www.stripesframework.org/jira/browse/STS-82
>             Project: Stripes
>          Issue Type: Bug
>          Components: Validation
>    Affects Versions: Release 1.0, Release 1.0.1, Release 1.0.2
>            Reporter: Tim Fennell
>            Assignee: Tim Fennell
>             Fix For: Release 1.1
>
>
> Right now, if Stripes generates validation errors and the ActionBean 
> implements ValidationErrorHandler the handleValidationErrors() method is 
> invoked.  However, if the bean's validate() method generates the errors, 
> handleValidationErrors() is not invoked.  This seemed to make sense 
> originally because code in validate() could just handle it's own errors, but 
> on reflection it makes more sense to centralize this logic in one place.  
> Especially since validate() cannot return a Resolution to change the event 
> handling flow.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to