)}")
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.
---
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
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
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
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
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.
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
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
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
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
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
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...
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
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
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
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
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]
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
18 matches
Mail list logo