I've found an more clean solution

here my button:
<s:button id="cancel" value="#{messages['Cancel']}"
  |              propagation="end" action="#{userHome.cancel}" />

and here the userHome.cancel()

  | @End
  | @Rollback
  | public String cancel() {
  |     return "canceled";
  | }

the Rollback annotation is the important thing.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061480
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to