wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Dynamic Field Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Dynamic Field Validation" Watch "Dynamic Field Validation" New topic
Author

Dynamic Field Validation

Pradeep Chandrasekharan Nair
Ranch Hand

Joined: Apr 01, 2004
Posts: 48
Hi,

Environment JSF - Seam - Hibernate

I am creating some dynamic fields from backend and have assigned value binding to bean properties. But Hibernate Validations are not working. Is there any way i can show the hibernate validations for the dynamic fields created when I submit the form.

Thanks in Advance

Regards,
Pradeep
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Are you attaching any validators or converters or messages to each UI Component that you add programatically? I am not positive about Hibernate Validations, but that you can create your own custom validator that adds messages to the FacesMessages Seam object and that will put messages next to your Form objects.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
Don't get me started about those stupid light bulbs.
 
subject: Dynamic Field Validation