You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2009/12/02 09:54:20 UTC
[jira] Created: (TRINIDAD-1650) add support for "empty field
validation" and BeanValidation API
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.
[jira] Commented: (TRINIDAD-1650) add support for "empty field
validation" and BeanValidation API
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ 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.
[jira] Resolved: (TRINIDAD-1650) add support for "empty field
validation" and BeanValidation API
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Weßendorf resolved TRINIDAD-1650.
------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0-core
> 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
> Fix For: 2.0.0-core
>
> Attachments: TRINIDAD-1650.patch
>
>
> 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.