You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Aleksandr Mashchenko (JIRA)" <ji...@apache.org> on 2015/12/16 19:54:46 UTC

[jira] [Commented] (WW-4578) RegexValidator does not work for multiple values

    [ https://issues.apache.org/jira/browse/WW-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15060529#comment-15060529 ] 

Aleksandr Mashchenko commented on WW-4578:
------------------------------------------

Have you seen any validator which works for collection or array? Take a look at [visitor validator|http://struts.apache.org/docs/visitor-validator.html].

> RegexValidator does not work for multiple values
> ------------------------------------------------
>
>                 Key: WW-4578
>                 URL: https://issues.apache.org/jira/browse/WW-4578
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Annotations
>    Affects Versions: 2.3.24
>            Reporter: Jose L Martinez-Avial
>            Priority: Minor
>              Labels: regex, validation
>             Fix For: 2.3.25, 2.5
>
>
> The RegexFieldValidator only validates if the parameter receives is an String. So validation for multiple values (received as a String array) does not work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)