Your field names aren't the same.
operator1 != operand1
operator2 != operand2
They must be the same or validation on those fields won't occur.
robert
> -Original Message-
> From: Abhishek Srivastava [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 12, 2003 9:35 AM
> To: [EMAIL PROTECT
You need to decide if you want to use Struts validation or define your own
class. You're example below is inconsistent:
If you want to use Struts validation(which you probably do):
struts-config.xml
---
If you are writing your own validation class, you'
d whether the
xml code is easily understandable.
Regards,
Abhishek.
-Original Message-
From: Ben Anderson [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 8:21 PM
To: [EMAIL PROTECTED]
Subject: RE: Commons validation framework and struts
You need to decide if you want
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 8:21 PM
To: Struts Users Mailing List
Subject: RE: Commons validation framework and struts
Your field names aren't the same.
operator1 != operand1
operator2 != operand2
They must be the same or validation on those fi
uts Users Mailing List'
> Subject: RE: Commons validation framework and struts
>
>
> Hello Robert,
>
> Thanks for your reply.
>
> It's a typo in my email. My form has fields operand1, operand2
> and operator.
> I have defined the same in the validation.xml st
]
Sent: Friday, December 12, 2003 8:21 PM
To: Struts Users Mailing List
Subject: RE: Commons validation framework and struts
Your field names aren't the same.
operator1 != operand1
operator2 != operand2
They must be the same or validation on those fields won't occur.
robert
> -Ori
The attachment didn't come through.
robert
> -Original Message-
> From: Abhishek Srivastava [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 15, 2003 12:31 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Commons validation framework and struts
>
7 matches
Mail list logo