[jboss-user] [JBoss Seam] - validation and persisting

miloslav.vlach do-not-reply at jboss.com
Tue Aug 14 15:56:34 EDT 2007


Hi,

I have problem with validation on the server side. Let's imagine I change data on the web  form and submiting. On the call I decide that combination is wrong and add message to the FacesMessage and return null. But problem is, that some changes are saved to the database.

Have I to throw some exception or I have to return null only ?

Thanks Mila

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

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



More information about the jboss-user mailing list