Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.jsf.facelets.vendor
Class NotFoundFacelet

java.lang.Object
  extended by com.sun.facelets.Facelet
      extended by org.nuxeo.theme.jsf.facelets.vendor.NotFoundFacelet

public class NotFoundFacelet
extends com.sun.facelets.Facelet

Facelet used when the underlying URL is not found on the server.

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.

Since:
5.4.2

Field Summary
 String error
           
 
Constructor Summary
NotFoundFacelet(String error)
           
 
Method Summary
 void apply(FacesContext facesContext, UIComponent parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

error

public final String error
Constructor Detail

NotFoundFacelet

public NotFoundFacelet(String error)
Method Detail

apply

public void apply(FacesContext facesContext,
                  UIComponent parent)
           throws IOException,
                  FacesException,
                  com.sun.facelets.FaceletException,
                  ELException
Specified by:
apply in class com.sun.facelets.Facelet
Throws:
IOException
FacesException
com.sun.facelets.FaceletException
ELException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.