Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Dynamic Field Validation" Watch "Dynamic Field Validation" New topic

Dynamic Field Validation

Pradeep Chandrasekharan Nair
Ranch Hand

Joined: Apr 01, 2004
Posts: 48

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

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Dynamic Field Validation
It's not a secret anymore!