This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
xml validation with the java 5
problem with Date validations thru Validator-rules.xml and Validation.xml
java.io.Serializable;
validating forms
Validation interceptor