File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
problem with Date validations thru Validator-rules.xml and Validation.xml
xml validation with the java 5
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014