A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Validation in LazyDynaBean
Joined: Mar 18, 2005
Sep 23, 2007 12:09:00
How to perform Validation in FormBean of type org.apache.commons.BeanUtils.LazyDynaBean?
Only those who will risk going too far can possibly find out how far one can go !!!
Joined: Feb 15, 2005
Sep 23, 2007 22:17:00
You can't use the validation framework with LazyDynaBean. Use org.apache.struts.validator.LazyValidatorForm instead. Then you can define validation rules in the validation.xml file just as you would with any other form.
I agree. Here's the link:
subject: Validation in LazyDynaBean
xml validation with the java 5
problem with Date validations thru Validator-rules.xml and Validation.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014