webtier@glassfish.java.net

Re: [JSF 2.0] default error page

From: <webtier_at_javadesktop.org>
Date: Mon, 18 May 2009 07:38:11 PDT

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 <ui:include src="javax.faces.error.xhtml"/> 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).
[Message sent by forum member 'rlubke' (rlubke)]

http://forums.java.net/jive/thread.jspa?messageID=346614