[jboss-user] [JBoss Seam] - Re: Very basic validation question

gavin.king@jboss.com do-not-reply at jboss.com
Thu Jul 26 17:09:12 EDT 2007


"michael.yuan at jboss.com" wrote : The validation annotations are processed by Hibernate. They are  *not* supposed to work on stateful session beans. To validate data in the session bean, you have to write your own validation code, or you can use JSF validator tags in the view page.

That's not true, validation annotations are supposed to work on SFSBs, but there was a bug in Seam 2.0 beta 1 that meant they had to be declared on the local interface. This is already fixed in CVS.

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

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



More information about the jboss-user mailing list