struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Strachan, Paul" <>
Subject RE: Problems with validator framework
Date Wed, 13 Sep 2006 13:49:03 GMT
what I would do is:
1. keep form properties as String (and consider using DynaValidatorForm)
2. use the "required,float" or "required,int" validation
3. use BeanUtils.populate method to map the form onto a typed object (property names must


From: Heidy Gutiérrez Guzmán []
Sent: Wed 13/09/2006 11:13 PM
Subject: Problems with validator framework


I need to validate a form with fields wich data type is "int" and "float"

The validation that i use is "required", but that doesn't work.

The fields are initilialized with default values (o for int types) and
(0.0for float types).

Whit string data types, validator works fine.

If somebody would help me, i would be grateful

This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message