ing) whereas an Integer's default value is null.
You may want to try (a) using an Integer property, and (b) using both the "required" and
"int" validators.
Dave
--- On Tue, 11/25/08, David C. Hicks <[EMAIL PROTECTED]> wrote:
From: David C. Hicks <[EMAIL
null.
You may want to try (a) using an Integer property, and (b) using both the
"required" and "int" validators.
Dave
--- On Tue, 11/25/08, David C. Hicks <[EMAIL PROTECTED]> wrote:
> From: David C. Hicks <[EMAIL PROTECTED]>
> Subject: Re: Couple of vali
Richa Pandharikar wrote:
Can you please send the validation.xml file that you are using?
here is the "add" validation. the "update" is essentially identical,
right now...
You must select a MediaBoard.
You must enter an X coordinate
Can you please send the validation.xml file that you are using?
-Original Message-
From: David C. Hicks [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 3:56 PM
To: Struts Users Mailing List
Subject: Couple of validation questions.
1) Validating numeric fields.
I have a couple
1) Validating numeric fields.
I have a couple of numeric fields on a form, and I have configured the
"required" validator for them. If I leave the fields blank and submit
the form, there is no error. Instead, the fields end up with values of
0, each. Either there is no validation taking plac
5 matches
Mail list logo