[jboss-user] [JBoss Seam] - Re: Seam gen edit pages, update without press save button

nebukadnezzar do-not-reply at jboss.com
Fri Jul 6 16:53:46 EDT 2007


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



More information about the jboss-user mailing list