Re: How to validate an integer array

2006-09-27 Thread Wendy Smoak
On 9/26/06, Chetan Pandey <[EMAIL PROTECTED]> wrote: Thanks Wendy. I am trying to validate an array of ints. The following should be true: 1. The array is not null. 2. The first value in its index should be higher than 0. 3. If the first value is 0 then its length must be greater than 2. I'd

RE: How to validate an integer array

2006-09-26 Thread Chetan Pandey
Struts Users Mailing List Subject: Re: How to validate an integer array On 9/26/06, Chetan Pandey <[EMAIL PROTECTED]> wrote: > In my form I have > Int [] roleIds = null. > This is used as the Underlying Datatype of a multiple-select Drop-down. > Everything works fine but I am

Re: How to validate an integer array

2006-09-26 Thread Wendy Smoak
On 9/26/06, Chetan Pandey <[EMAIL PROTECTED]> wrote: In my form I have Int [] roleIds = null. This is used as the Underlying Datatype of a multiple-select Drop-down. Everything works fine but I am not sure how to validate? The following that I tried did not work:

How to validate an integer array

2006-09-26 Thread Chetan Pandey
Hi All: In my form I have Int [] roleIds = null. This is used as the Underlying Datatype of a multiple-select Drop-down. Everything works fine but I am not sure how to validate? The following that I tried did not work: test (*t