List Info

Thread: Issue Comment Edited: (WW-2292) Validation occurs without need the @Validation annotation wit




Issue Comment Edited: (WW-2292) Validation occurs without need the @Validation annotation wit
country flaguser name
United States
2007-11-06 16:46:34
    [ https://issues.apache.org/struts/browse/WW
-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:c
omment-tabpanel#action_42580 ] 

jasondouglas77gmail.com edited comment on WW-2292 at
11/6/07 2:45 PM:
------------------------------------------------------------
------------

I don't want to skip the validation. Why I need the Validation if the annotation related with validation
already turn on the validation mechanism?

the example is wrong?
Why I put an instruction where the bevariour already
expected? like:

public class Customer{

   public Customer(){ <-- WHY? I DON'T NEED
      super(); <-- WHY? I DON'T NEED
   } 
}

So the example must show a case where the Validation is really required, not?

      was (Author: jasondouglas77gmail.com):
    I don't want to skip the validation. Why I need the Validation if the annotation related with validation
already turn on the validation mechanism?

the example is wrong?
Why I put an instruction where the bevariour already
expected? like:

public class Customer{

   public Customer(){ <-- WHY? I NEED
      super(); <-- WHY? I NEED
   } 
}

So the example must show a case where the Validation is really required, not?
  
> 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.4
>
>
> 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.


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )