On Thu, Sep 11, 2008 at 4:27 PM, laredotornado <[EMAIL PROTECTED]>wrote:

>
> Hi,
>
> I'm trying to create a JSF error page to which 500 server errors are
> redirected.  I thought I'd use the MyFaces wiki --
> http://wiki.apache.org/myfaces/Handling_Server_Errors, but I have a couple
> of questions.  The page above does not list what changes, if any need to be
> made to faces-config.xml.  Also, it references classes,
> "cms.beans.framework.AbstractUIBean" and
> "com.c2gl.jsf.framework.ApplicationResource" that I don't see defined
> anywhere else on the page.
>
> Can someone help?  Does someone have a working example of a global JSF
> error
> handler?
>

There are several ways to error handling:

1. Use the error handling feature of myfaces. On the wiki there are
instructions about how to enable and disable it. The error handler used to
do this is javax.faces.webapp._ErrorPageWriter
2. Use jsp error handling (redirect errors to a jsp page). No need of doing
changes on faces-config.xml, but you need to disable myfaces error handling.
3. Use sandbox error handling to redirect errors to a jsf error page
(faces-config.xml configuration required).

I'll update this wiki page to add more information about it.


>
> Thanks, - Dave
>
>
> --
> View this message in context:
> http://www.nabble.com/Global-error-page-question-tp19445165p19445165.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>

Reply via email to