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

Don Brown commented on WW-2292:
-------------------------------

Yeah, this is bizarre.  The @Validation annotation is basically worthless, as 
the class and methods are scanned for validation annotations regardless.  The 
only way it is used is as a way to collect @Validations instances, which is 
dubious really.  I'm gonna leave it open for Rene or Rainer to comment, but it 
seems like we should at least deprecate it and better explain its real purpose 
(or lack thereof)

> Validation occurs without need the @Validation annotation with Zero 
> Configuration
> ---------------------------------------------------------------------------------
>
>                 Key: WW-2292
>                 URL: https://issues.apache.org/struts/browse/WW-2292
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.0.9, 2.0.11
>         Environment: Windows XP 2600.xpsp_sp2_rtm.040803-2158 (SP2). Tomcat 
> 6.0.14
>            Reporter: Jason Douglas de Oliveira
>             Fix For: 2.1.3
>
>
> When the action class has some annotation related with validation like: 
> @RequiredStringValidator, @StringLengthFieldValidator, 
> @RequiredFieldValidator, etc. The action is validate without need the 
> @Validation annotation.
> I try too with @VisitorFieldValidator and the same behavior happen.

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