Skip to main content

[JSF 2.0] default error page

1 reply [Last post]
Joined: 2005-10-22

Section 6.3.2 talks about a default error page (javax.faces.error.xhtml). Is this feature already implemented in Mojarra 2.0? If not, any ideas on when it will be available?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-08-21

The reference "javax.faces.error.xhtml" isn't an error page but an identifier that ui:include recognizes and takes special action upon.

If your application defines an error-page in the web.xml, the default Facelets error page will not be displayed, however, if you use you can embed a similar view of the content generated by Facelets within your error page.

Note that the include will only work when ProjectStage is Development.

And lastly, yes, this feature is implemented (post-EDR2, so you'll have to use a nightly).