This content has been marked as final.
Show 2 replies
-
1. Re: pages.xml and exception handling
bigwheels16.email1.jkbff.com Jun 8, 2011 8:08 PM (in response to danclemson)Anyone have a solution for this?
-
2. Re: pages.xml and exception handling
lvdberg Jun 11, 2011 2:00 PM (in response to danclemson)Hi,
a small example, it will rerender your current page and show the error.
<exception class="your.own.SimpleException"> <redirect view-id="#{facesContext.externalContext.requestServletPath}#{facesContext.externalContext.requestPathInfo}"> <message severity="INFO">USE THE MESSAGE YOU WANT</message> </redirect> </exception>
Leo