Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dynamic Field Validation

 
Pradeep Chandrasekharan Nair
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic