The moose likes Struts and the fly likes Validation in LazyDynaBean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validation in LazyDynaBean" Watch "Validation in LazyDynaBean" New topic

Validation in LazyDynaBean

Kalyana Sundaram
Ranch Hand

Joined: Mar 18, 2005
Posts: 94
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 !!!
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.

Consultant, Sima Solutions
I agree. Here's the link:
subject: Validation in LazyDynaBean
It's not a secret anymore!