Re: Struts Validation - Stop on fail?

2002-07-08 Thread Peter Onthrops
 Are you using javascript validation? If not, disregard this message. If so, the javascript rendered by the JavascriptValidatorTag performs each required validation before checking for the float validation. Since an error is found in validateRequired, validateFloat is not called. if you check out

JavascriptValidatorTag and Indexed Fields

2002-06-07 Thread Peter Onthrops
Have there been any updates to JavascriptValidatorTag to handle indexed fields? Thanks, P. - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World Cup

Re: Struts Validator

2002-06-07 Thread Peter Onthrops
I think what you are looking for is handled by configuring validation.xml in this way: (maps to action path) Your Form bean should extend ValidatorActionForm. The Validator will only validate fields configured for the given action. Hope this helps. P. Rober

Re: Struts Forms, ConvertUtils and Validation - need design advice

2002-06-07 Thread Peter Onthrops
rements. -- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Peter Onthrops wrote: > > I have a form that has one attribute - an instance of a value object. The object has >multi

Struts Forms, ConvertUtils and Validation - need design advice

2002-06-06 Thread Peter Onthrops
I have a form that has one attribute - an instance of a value object. The object has multiple attributes that make up the form elements. These attributes are not all Strings and therefore ConvertUtils converts them to Strings for display on the jsp. When posting the html form, ConvertUtils att

form bean ignoring null input from jsp - newbie question

2002-06-04 Thread Peter Onthrops
Does struts ignore a null input from a jsp form when populating an underlying bean? I am submitting a text field with no input and the bean's attribute is not being updated with a null value. Thanks in advance. - Do You Yahoo!? Sign-up for Video Highlights o

html:errors / html:messages

2002-06-04 Thread Peter Onthrops
I am trying to display error messages for properties in a list. The property key in the messages object is object[0].property. Is there support to display these message individually? Thanks, P. - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World

html:messages

2002-06-04 Thread Peter Onthrops
I am trying to display error messages for properties in a list. The property key in the messages object is "list[index].property". Is there support to display these nested messages individually? Thanks in advance. - Do You Yahoo!? Sign-up for Video Highlights

commons ConvertUtils error?

2002-06-03 Thread Peter Onthrops
I have a form with a Timestamp attribute. The value of the timestamp can be an empty. I am getting a ConversionException because a call is being made to ConvertUtils and then SqlTimestampConverter with the empty value - which throws the exception when the value is null or not in the proper fo

validator NullPointer- please help

2002-06-01 Thread Peter Onthrops
I am having problems installing the validator. I am getting a NullPointerException (see below) in the validate method of ...commons.validator.Validator. I followed the install instructions and just can't figure out what it causing the exception. --- ja

please help - validator null pointer

2002-05-31 Thread Peter Onthrops
I am having problems installing the validator. I am getting a NullPointerException (see below) in the validate method of ...commons.validator.Validator. I followed the install instructions and just can't figure out what is causing the exception. Has anyone encountered this? --