You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2010/05/31 23:11:37 UTC
[jira] Commented: (MYFACES-2301) Support for default Validators in
Builder Plugin
[ https://issues.apache.org/jira/browse/MYFACES-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873786#action_12873786 ]
Leonardo Uribe commented on MYFACES-2301:
-----------------------------------------
After solving some bugs about BeanValidator, the conclusion was add defaultValidator to @JSFValidator does not fit. The reason is all default validators are registered like this:
<faces-config>
<application>
<!-- register default validators here -->
</application>
It is better to let the user register the required validators as default ones there (usually there are few and on custom jsf libraries this is not mandatory, so if someones uses x library it is up to the user to use y validator as default or not). Note BeanValidator has a web config param to enable / disable it.
After the previous arguments, I'll close this one as won't fix.
> Support for default Validators in Builder Plugin
> ------------------------------------------------
>
> Key: MYFACES-2301
> URL: https://issues.apache.org/jira/browse/MYFACES-2301
> Project: MyFaces Core
> Issue Type: New Feature
> Components: build process
> Reporter: Jan-Kees van Andel
>
> The javax.faces.Bean Validator is a "default" Validator.
> The concept of default Validators, however, is not supported in the MyFaces Builder Plugin.
> I think it will be useful to add support for default Validators to the builder plugin.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.