Hey guys, you sure know some way to work it out !
I do not want to put view-id in form buttons, but only transition names. When I do that, then form gets submitted and my injected object gets changed according to data entered into form (event PK). Can i somehow block inserting submitted form data into object attributes ?
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.
Use manual flushmode and use the none conversation propagation. I wouldn't do what javichi_fer suggests -thats pretty ugly.