This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 17249

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 - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Dynamic Field Validation
Similar Threads
How does the update method work for Hibernate Session?
struts validator. stoping on first validation error.
Updating POJO with Hibernate
DynaActionForm not working