struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Mashchenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4578) RegexValidator does not work for multiple values
Date Wed, 16 Dec 2015 18:54:46 GMT

    [ 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)

Mime
View raw message