@RequiredIf should be aware of boolean-values as target
-------------------------------------------------------

                 Key: EXTVAL-72
                 URL: https://issues.apache.org/jira/browse/EXTVAL-72
             Project: MyFaces Extensions Validator
          Issue Type: Improvement
          Components: Property Validation
    Affects Versions: 1.1.2, 1.1.1, 1.2.2, 1.2.1
            Reporter: Gerhard Petracek
            Priority: Minor


target value is Boolean#TRUE and RequiredIfType is not_empty -> source is 
required
target value is Boolean#FALSE and RequiredIfType is not_empty -> source is not 
required

target value is Boolean#FALSE and RequiredIfType is empty -> source is required
target value is Boolean#TRUE and RequiredIfType is empty -> source is not 
required

use-case details:
http://www.mail-archive.com/[email protected]/msg54272.html


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to