[jboss-user] [JBoss Seam] - Re: Unwanted datamodel update on action cancel

javichi_fer do-not-reply at jboss.com
Thu Jan 31 14:36:16 EST 2008


You are probably using an Extended Persistet Context. If you really need it try making the country field (the one you edit) a String property of some backing bean and dont use the Entity property directly. 

If the user clicks to save the country set the Entity property with the new value and if he clicks cancel just do nothing but redirect to the appropiate view.

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

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



More information about the jboss-user mailing list