You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Rudy De Busscher (JIRA)" <de...@myfaces.apache.org> on 2010/03/25 16:47:27 UTC

[jira] Created: (EXTVAL-88) Allow case insensitive comparison for String in the Equals and NotEquals validations

Allow case insensitive comparison for String in the Equals and NotEquals validations
------------------------------------------------------------------------------------

                 Key: EXTVAL-88
                 URL: https://issues.apache.org/jira/browse/EXTVAL-88
             Project: MyFaces Extensions Validator
          Issue Type: New Feature
          Components: Property Validation
    Affects Versions: 1.1.3, 2.0.3, 1.2.3
            Reporter: Rudy De Busscher
            Priority: Minor


Created a new ValidationParameter to indicate case sensitive (the default, as before) or case insensitive.
The EqualsStrategy is adjusted to take this parameter into account.

Usage example:
@NotEquals(value = { "firstName" }, parameters = { CaseComparator.CaseInsensitive.class })

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


[jira] Updated: (EXTVAL-88) Allow case insensitive comparison for String in the Equals and NotEquals validations

Posted by "Rudy De Busscher (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTVAL-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rudy De Busscher updated EXTVAL-88:
-----------------------------------

    Status: Patch Available  (was: Open)

> Allow case insensitive comparison for String in the Equals and NotEquals validations
> ------------------------------------------------------------------------------------
>
>                 Key: EXTVAL-88
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-88
>             Project: MyFaces Extensions Validator
>          Issue Type: New Feature
>          Components: Property Validation
>    Affects Versions: 1.2.3, 2.0.3, 1.1.3
>            Reporter: Rudy De Busscher
>            Priority: Minor
>         Attachments: EXTVAL-88.patch
>
>
> Created a new ValidationParameter to indicate case sensitive (the default, as before) or case insensitive.
> The EqualsStrategy is adjusted to take this parameter into account.
> Usage example:
> @NotEquals(value = { "firstName" }, parameters = { CaseComparator.CaseInsensitive.class })

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


[jira] Commented: (EXTVAL-88) Allow case insensitive comparison for String in the Equals and NotEquals validations

Posted by "Rudy De Busscher (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTVAL-88?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850880#action_12850880 ] 

Rudy De Busscher commented on EXTVAL-88:
----------------------------------------

Usage example with v2 of Gerhard becomes
@NotEquals(value = { "firstName" }, parameters = { CaseInsensitive.class })

> Allow case insensitive comparison for String in the Equals and NotEquals validations
> ------------------------------------------------------------------------------------
>
>                 Key: EXTVAL-88
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-88
>             Project: MyFaces Extensions Validator
>          Issue Type: New Feature
>          Components: Property Validation
>    Affects Versions: 1.2.3, 2.0.3, 1.1.3
>            Reporter: Rudy De Busscher
>            Priority: Minor
>         Attachments: EXTVAL-88.patch, EXTVAL-88_unittests.patch, EXTVAL-88_v2.patch
>
>
> Created a new ValidationParameter to indicate case sensitive (the default, as before) or case insensitive.
> The EqualsStrategy is adjusted to take this parameter into account.
> Usage example:
> @NotEquals(value = { "firstName" }, parameters = { CaseComparator.CaseInsensitive.class })

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


[jira] Updated: (EXTVAL-88) Allow case insensitive comparison for String in the Equals and NotEquals validations

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTVAL-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek updated EXTVAL-88:
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.4-SNAPSHOT
                   2.0.4-SNAPSHOT
                   1.2.4-SNAPSHOT
           Status: Resolved  (was: Patch Available)

> Allow case insensitive comparison for String in the Equals and NotEquals validations
> ------------------------------------------------------------------------------------
>
>                 Key: EXTVAL-88
>                 URL: https://issues.apache.org/jira/browse/EXTVAL-88
>             Project: MyFaces Extensions Validator
>          Issue Type: New Feature
>          Components: Property Validation
>    Affects Versions: 1.2.3, 2.0.3, 1.1.3
>            Reporter: Rudy De Busscher
>            Priority: Minor
>             Fix For: 1.2.4-SNAPSHOT, 2.0.4-SNAPSHOT, 1.1.4-SNAPSHOT
>
>         Attachments: EXTVAL-88.patch, EXTVAL-88_unittests.patch, EXTVAL-88_v2.patch
>
>
> Created a new ValidationParameter to indicate case sensitive (the default, as before) or case insensitive.
> The EqualsStrategy is adjusted to take this parameter into account.
> Usage example:
> @NotEquals(value = { "firstName" }, parameters = { CaseComparator.CaseInsensitive.class })

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