[
https://issues.apache.org/jira/browse/TRINIDAD-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12784715#action_12784715
]
Matthias Weßendorf commented on TRINIDAD-1650:
----------------------------------------------
code will live in UIXEditableValueTemplate (generates to UIXEditableValue)
> add support for "empty field validation" and BeanValidation API
> ---------------------------------------------------------------
>
> Key: TRINIDAD-1650
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1650
> Project: MyFaces Trinidad
> Issue Type: New Feature
> Affects Versions: 2.0.0-core
> Reporter: Matthias Weßendorf
> Assignee: Matthias Weßendorf
>
> JSF 2.0 has support for run validation on empty fields (which integrates with
> BeanValidation)
> <quoteFromSpec>
> javax.faces.VALIDATE_EMPTY_FIELDS -- If this param is set, and calling
> toLowerCase().equals("true") on a String representation of its value returns
> true, all submitted fields will be validated. This is necessary to allow the
> model
> validator to decide whether null or empty values are allowable in the current
> application. If the value is false, null or empty values will not be passed
> to the
> validators. If the value is the string "auto", the runtime must check if
> JSR-303 Beans
> Validation is present in the current environment. If so, the runtime must
> proceed as if the
> value "true" had been specified. If JSR-303 Beans Validation is not present
> in the
> current environment, the runtime most proceed as if the value "false" had been
> specified. If the param is not set, the system must behave as if the param
> was set with the
> value "auto".
> </quoteFromSpec>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.