struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Re: Validate an hmt:select with validator framework
Date Mon, 25 Sep 2006 23:44:43 GMT
On 9/25/06, Laurie Harper <laurie@holoweb.net> wrote:

> You said your form property was of type 'Long'. By default, a null input
> value will be turned into 0, so the required validator rule will think
> the property has a value.

Good catch, Laurie!  I completely missed the type... probably didn't
read that far. :)

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message