arg0 in your validations xml configuration file.
Regards,
David
---Original Message---
From: Erez Efrati <[EMAIL PROTECTED]>
Sent: 08/06/03 03:06 PM
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: validating a html:select box
>
> I guess I
value?
Thanks,
Erez
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 4:59 PM
To: Struts Users Mailing List
Subject: Re: validating a html:select box
Erez,
The Struts Validator has an intRange function. It's in the Validator
quot;?) from being submitted:
min
10
max
20
---Original Message---
From: Erez Efrati <[EMAIL PROTECTED]>
Sent: 08/06/03 02:41 PM
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: validating a
---
From: Erez Efrati <[EMAIL PROTECTED]>
Sent: 08/06/03 03:38 PM
To: 'Struts Users Mailing List' <[EMAIL PROTECTED]>
Subject: RE: RE: validating a html:select box
>
> For some reason, the javascript for intRange is not working if the
property is a selection . I looked
ing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, August 06, 2003 3:15 PM
Subject: RE: RE: validating a html:select box
> Pushing the limit, eh:).
>
> How hard is it to write your own two line JavaScript. Besides, since it's
a
> select box(not a combo), all the optio
EMAIL PROTECTED]
Sent: August 6, 2003 1:39 PM
To: 'Struts Users Mailing List'
Subject: RE: RE: validating a html:select box
For some reason, the javascript for intRange is not working if the
property is a selection . I looked in the javascript code
(I am new to that still) but I saw that it only
frati [mailto:[EMAIL PROTECTED]
Sent: August 6, 2003 1:39 PM
To: 'Struts Users Mailing List'
Subject: RE: RE: validating a html:select box
For some reason, the javascript for intRange is not working if the
property is a selection . I looked in the javascript code
(I am new to that still) but
boxes? Change the javascript?
Erez
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 5:22 PM
To: Struts Users Mailing List
Subject: Re: RE: validating a html:select box
Erez,
In that field validation, you can overload the sentence
I have a selection box with options where the first is valued 0 (=not
selected) with some label saying: "month". How can I use the Struts
validator to validate the user has actually chosen a value other than 0?
Do I have to write one of my own? I wish the validwhen was around...
By the way the 'bi
9 matches
Mail list logo