Yes, but thats didnt works...
If you specify the annotations on the method save for example... The
validation roles will be apllyied for the others methods too.
I am running Struts 2.0.3 with xWork 2.0.0 (06/01/2007)...
Thank's
Andr?? Faria
cilquirm escreveu:
> According to http://struts.apache.org/2.x/docs/validation-annotation.html
>
> you can specify annotations at the method level.
>
>
>
> Andr?? Faria-3 wrote:
>
>> Hi People!!!
>>
>> Is there a way to use Validation Annotations only for a method or always
>> for the action...
>>
>> Example, if I have a action PersonAction with three methods:
>>
>> public class PersonAction {
>> public void execute(){}
>> public void list(){}
>> public void save(){}
>> }
>>
>> But I have to validate the user input only in method save what could I do?
>>
>>
>> Have a nice weekend,
>> Thank's for help,
>> Andr?? Faria
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@(protected)
>> For additional commands, e-mail: user-help@(protected)
>>
>>
>>
>>
>
>
--
Atenciosamente,
*/Andr?? Faria/*
/BlueSoft Consultoria em Inform??tica/
/Fone: [55 11] 5543-5406/
/Web: www.bluesoft.com.br/
//////
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)