Package org.apache.myfaces.renderkit
Class ErrorPageWriter.ErrorPageBean
java.lang.Object
org.apache.myfaces.renderkit.ErrorPageWriter.ErrorPageBean
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ErrorPageWriter
This bean aims to generate the error page html for inclusion on a facelet error page via
<ui:include src="jakarta.faces.error.xhtml" />. When performing this include the facelet
"myfaces-dev-error-include.xhtml" will be included. This facelet references to the ErrorPageBean.
This also works for custom error page templates.
The bean is added to the ViewMap of the UIViewRoot, which is
displaying the error page, in RestoreViewExecutor.execute().
- Author:
- Jakob Korherr
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ErrorPageBean
public ErrorPageBean()
-
-
Method Details
-
getErrorPageHtml
- Throws:
IOException
-