-
1. Re: Advanced error handling ideas
admin.admin.email.tld Sep 28, 2008 6:08 PM (in response to ahus1)when you say error handling do you mean exception handling or validation error handling via Hibernate Validators?
I'm thinking you mean exception handling. For example, a DB exception (e.g., transaction failed for some reason), user gets re-directed to generic error.xhtml. and presumably must re-start conversation/use case.
So you're saying in this case, the LRC is demoted to temporary conversation. Why does that demotion need to happen? Why can't user have a link to go back to previous page and re-exec the use case?
-
2. Re: Advanced error handling ideas
ahus1 Oct 5, 2008 9:20 PM (in response to ahus1)Sool,
how would you like to redirect the use to the previous page? Javascript? Or is there any other way to do this?
Redirecting her/him to the original page (where they are able to change i.e. their inputs) and displaying the error message at the same time sounds like a good idea to me.
I posted my code on another thread, the exception handler posted there works with any exception.
Alexander.