The moose likes Object Relational Mapping and the fly likes Dynamic Field Validation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply 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: 16624

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
 
 
subject: Dynamic Field Validation
 
Threads others viewed
Validations-objects
DynaActionForm not working
struts validator. stoping on first validation error.
Updating POJO with Hibernate
How does the update method work for Hibernate Session?
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture