[jboss-user] [JBoss Seam] - validation

minamti do-not-reply at jboss.com
Sat Aug 11 15:35:17 EDT 2007

I have a field, which has an unique constraint in the database. I am getting an Hibernate UniqueConstraint exception. 

I would like to asynchronously query the database as the user is entering the form and inform that the entry violates the unique constraint. 

How can I write a validator in Seam that will be invoked by s:validate on the field. 

Any pointers would be helpful. 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073319#4073319

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073319

More information about the jboss-user mailing list