[jboss-user] [JBoss Seam] - Re: Rollback exceptions without ending the conversation

chuckadams do-not-reply at jboss.com
Thu Mar 8 01:23:57 EST 2007


A conversation isn't normally destroyed when an exception is thrown out of an @End method, so you should be able to redirect to an error page that lets you get back into your edit screen.

If you prefer to catch inside the save method, you should have save() return a String for the outcome, and return null if you don't want it to actually end.  It's in the docs for the @End annotation, at http://docs.jboss.com/seam/latest/reference/en/html/annotations.html

Of course if you catch the exception in the save method, you still have to do the recovery bits.  If you make it actually work, I'd love to see what the solution was.


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

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



More information about the jboss-user mailing list