validator questions

2002-10-21 Thread Andy Kriger
1) Is it possible to override the validator error message when a field fails validation? For example, I have a required field that is missing. I display the default error message at the top of the page. I would also like to change the color of the form field label red. Can I do something like to o

Validator Questions - (about example in chapter 11)

2002-10-01 Thread Ryan Cuprak
Hello,   I've been reading through chapter 11 in Chuck's book dealing with the validator and I have a couple of questions about example 11-1 (things I don't get) that maybe someone knows off the top of their head. Hopefully my questions aren't too obvious!  First, what exactly are the arg0 el

General Validator Questions..

2002-06-04 Thread Jeff_Mychasiw
I think I understand the principals behind the validation module and hope to be using it a prototype very soon (1.1b). I like how it manages a javascript library. I do have a question though. Question: Is it wise to mix other javascript related functions that may need to use the same validatio

RE: Struts Validator Questions

2002-03-01 Thread David Winterfeldt
have > errors.add(field.getKey.ValidatorUtil.getActionError(. > > I am compiling and running okay, but it never gets > to this routine. > (Thanks for your help by the way) > > Ben > > -Original Message- > From: David Winterfeldt > [mailto:[EMAIL PRO

RE: Struts Validator Questions

2002-03-01 Thread Ben Kafka
running okay, but it never gets to this routine. (Thanks for your help by the way) Ben -Original Message- From: David Winterfeldt [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 11:57 AM To: Struts Users Mailing List Subject: Re: Struts Validator Questions --- Ben Kafka <[

Re: Struts Validator Questions

2002-03-01 Thread David Winterfeldt
--- Ben Kafka <[EMAIL PROTECTED]> wrote: > Hi, > >I started using the struts validator package > about a week ago and have > the following questions: > > 1 - How do I get the validator to validate a > required field for a selection > box? > My selection is on an integer property. I no

Struts Validator Questions

2002-03-01 Thread Ben Kafka
Hi, I started using the struts validator package about a week ago and have the following questions: 1 - How do I get the validator to validate a required field for a selection box? My selection is on an integer property. I noticed in the validator-rules.xml file it is checking for typ