Class ErrorPageWriter.ErrorPageBean

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    ErrorPageWriter

    public static class ErrorPageWriter.ErrorPageBean
    extends Object
    implements Serializable
    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:
    Serialized Form
    • Constructor Detail

      • ErrorPageBean

        public ErrorPageBean()