public class NotFoundFacelet
extends com.sun.facelets.Facelet
Used to fail gracefully, displaying the rest of the page, even if some facelet fails to render at some point instead of stopping the rendering and redirecting with a 404 error code.
| Constructor and Description |
|---|
NotFoundFacelet(String error) |
public final String error
public NotFoundFacelet(String error)
public void apply(FacesContext facesContext, UIComponent parent) throws IOException, FacesException, com.sun.facelets.FaceletException, ELException
apply in class com.sun.facelets.FaceletIOExceptionFacesExceptioncom.sun.facelets.FaceletExceptionELExceptionCopyright © 2011 Nuxeo SA. All Rights Reserved.