org.apache.myfaces.renderkit
Class ErrorPageWriter.ErrorPageBean

java.lang.Object
  extended by org.apache.myfaces.renderkit.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 . 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 Summary
ErrorPageWriter.ErrorPageBean()
           
 
Method Summary
 String getErrorPageHtml()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorPageWriter.ErrorPageBean

public ErrorPageWriter.ErrorPageBean()
Method Detail

getErrorPageHtml

public String getErrorPageHtml()
                        throws IOException
Throws:
IOException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.