wood burning stoves 2.0
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

Win a copy of Building Microservices this week in the Design forum!
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: Validation in LazyDynaBean
jQuery in Action, 3rd edition