org.apache.myfaces.renderkit
Class ErrorPageWriter.ErrorPageBean

java.lang.Object
  extended by org.apache.myfaces.renderkit.ErrorPageWriter.ErrorPageBean
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ErrorPageWriter

public static class ErrorPageWriter.ErrorPageBean
extends java.lang.Object
implements java.io.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
 java.lang.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 java.lang.String getErrorPageHtml()
                                  throws java.io.IOException
Throws:
java.io.IOException


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