Struts2 Validation Annotations - Message with params

2009-06-23 Thread Robson
)}") But it's not working. Thanks! -- View this message in context: http://www.nabble.com/Struts2-Validation-Annotations---Message-with-params-tp24167311p24167311.html Sent from the Struts - User mailing list archive at Nabble.com. ---

Re: Struts2.1: Is Validation Annotations on Nested Objects Supported?

2008-05-01 Thread egetchell
annotation on the getAddress method on the Customer allowed annotations defined on attributes of the Address object to properly fire. -Eric -- View this message in context: http://www.nabble.com/Struts2.1%3A-Is-Validation-Annotations-on-Nested-Objects-Supported--tp16852587p16993288.html Sent from the

RE: Struts2.1: Is Validation Annotations on Nested Objects Supported?

2008-04-25 Thread Brad A Cupit
ed by CGLIB extend the class they proxy, S2 will pick up those validation annotations on the super class methods. So, in short, annotation validation does work when proxies are involved. Jeromy is also right that there is a bug for @SkipValidation not working with proxies. Here's

Re: Struts2.1: Is Validation Annotations on Nested Objects Supported?

2008-04-25 Thread Jeromy Evans
egetchell wrote: Hello, Does anyone have an idea how to invoke validation annotations on nested objects? We’re using hierarchal objects in Struts 2.1 and the validation annotations do not seem to be firing on the child objects. For example I have a Customer object which has an Address object

Struts2.1: Is Validation Annotations on Nested Objects Supported?

2008-04-24 Thread egetchell
Hello, Does anyone have an idea how to invoke validation annotations on nested objects? We’re using hierarchal objects in Struts 2.1 and the validation annotations do not seem to be firing on the child objects. For example I have a Customer object which has an Address object as an attribute

Re: SmartURLs and Validation Annotations...

2007-10-08 Thread Eric D Nielsen
On 10/8/07, Ted Husted wrote: >On 10/8/07, Dave Newton <[EMAIL PROTECTED]> wrote: >> Is validation firing at *all*? I had been under the >> impression that classes needed to be annotated with >> the "Validation" annotation. >> >> http://struts.apache.org/2.x/docs/validation-annotation.html > >True.

Re: SmartURLs and Validation Annotations...

2007-10-08 Thread Ted Husted
On 10/8/07, Dave Newton <[EMAIL PROTECTED]> wrote: > Is validation firing at *all*? I had been under the > impression that classes needed to be annotated with > the "Validation" annotation. > > http://struts.apache.org/2.x/docs/validation-annotation.html True. First, @Validations() tags the class

Re: SmartURLs and Validation Annotations...

2007-10-08 Thread Dave Newton
Is validation firing at *all*? I had been under the impression that classes needed to be annotated with the "Validation" annotation. http://struts.apache.org/2.x/docs/validation-annotation.html --- Eric D Nielsen <[EMAIL PROTECTED]> wrote: > I've been trying to figure o

SmartURLs and Validation Annotations...

2007-10-08 Thread Eric D Nielsen
I've been trying to figure out how to use Validation Annotations with the SmartURLs plugin. I'm not sure which half I'm not understanding properly, but I can't get the validations to fire at all. I've seen several similiar posts in the archives and have tried tweaki

Re: Validation Annotations

2007-04-09 Thread Antony Stubbs
ic void execute(); > > public void list(); > > @Validations(requiredFields = { @RequiredFieldValidator(fieldName = > "person.name", message = "Fill the name field.") }) > public void save(){} > > } > > André Faria escreveu: >> Is p

Validation Annotations - The return

2007-01-16 Thread André Faria
All, Did you use the validation annotations ? Did you know how to use the annotations for a single method insted all, like method level? In the documentation, I read that it is possible, but I can't make it works good. I am running Struts 2.0.3 SNAPSHOT 20060109 with xWork

Re: Validation Annotations

2007-01-08 Thread André Faria
ank'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...

Re: Validation Annotations

2007-01-08 Thread Laurie Harper
e 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

Re: Validation Annotations

2007-01-08 Thread André Faria
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: p

Re: Validation Annotations

2007-01-08 Thread cilquirm
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... > > Exampl

Re: Validation Annotations

2007-01-08 Thread André Faria
possible to use the validation annotations like @RequiredFieldValidator only for a method of the Action class? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-ma

Validation Annotations

2007-01-08 Thread André Faria
Is possible to use the validation annotations like @RequiredFieldValidator only for a method of the Action class? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Validation Annotations

2007-01-06 Thread André Faria
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