You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Rene O (JIRA)" <de...@myfaces.apache.org> on 2014/05/16 13:23:07 UTC
[jira] [Created] (MYFACES-3892) Create a option to execute
BeanValidation before JSF-Validation
Rene O created MYFACES-3892:
-------------------------------
Summary: Create a option to execute BeanValidation before JSF-Validation
Key: MYFACES-3892
URL: https://issues.apache.org/jira/browse/MYFACES-3892
Project: MyFaces Core
Issue Type: Improvement
Affects Versions: 2.2.3
Reporter: Rene O
As stated in this answer: http://stackoverflow.com/a/19835645 BeanValidation is executed after JSF-Validation.
But it would be very useful to have a way to change this behaviour.
Now you can't decide within jsf-validator wether a component is valid or not in terms of BeanValidation
{code}
//My JSF-Validator
//...
UIInput input = (UIInput) component;
if (!input.isValid()) {
return;
}
//...my own jsf-validation rules...
//...
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)