File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Validation in LazyDynaBean" Watch "Validation in LazyDynaBean" New topic
Author

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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Validation in LazyDynaBean