Thanks, Jacob. Great solution.
I'd like to see that included in Seam. And btw, we need the endRoot attribute for the
end-conversation element, too.
Otherwise we cannot really end the entire conversation stack when a nested conversation
throws an exception.
| // pages.xml
|
| <exception class="javax.persistence.OptimisticLockException">
| <end-conversation endRoot="true"/> // end all conversations
up to top-level long-running root conversation (inclusive)
| <redirect view-id="/error.xhtml">
| <message>Another user changed the same data, please try
again</message>
| </redirect>
| </exception>
|
cf.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=112414&a...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086863#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...