Re: Couple of validation questions.

2008-11-25 Thread David C. Hicks
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

Re: Couple of validation questions.

2008-11-25 Thread Dave Newton
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

Re: Couple of validation questions.

2008-11-25 Thread David C. Hicks
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

RE: Couple of validation questions.

2008-11-25 Thread Richa Pandharikar
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

Couple of validation questions.

2008-11-25 Thread David C. Hicks
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