org.apache.myfaces.webapp.filter
Class TomahawkFacesContextFactory
java.lang.Object
javax.faces.context.FacesContextFactory
org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory
public class TomahawkFacesContextFactory
- extends javax.faces.context.FacesContextFactory
The objective of this factory is this:
- Wrap a multipart request (used for t:inputFileUpload),
so the request could be correctly decoded.
- If a buffered instance of AddResource is configured,
ExtensionsFilter must buffer and add the resource reference
to the head of jsf pages (for example when it is used
DefaultAddResource)
- Since:
- 1.1.7
- Version:
- $Revision: 697311 $ $Date: 2008-09-19 20:14:01 -0500 (Fri, 19 Sep 2008) $
- Author:
- Martin Marinschek (latest modification by $Author: lu4242 $)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER
public static final String DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER
- Disable or enable this factory to wrap the request using
TomahawkFacesContextWrapper as an alternative to ExtensionsFilter.
If ExtensionsFilter is configured, use of TomahawkFacesContextWrapper
is skipped
- See Also:
- Constant Field Values
DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER_DEFAULT
public static final boolean DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER_DEFAULT
- See Also:
- Constant Field Values
TomahawkFacesContextFactory
public TomahawkFacesContextFactory(javax.faces.context.FacesContextFactory delegate)
getFacesContext
public javax.faces.context.FacesContext getFacesContext(Object context,
Object request,
Object response,
javax.faces.lifecycle.Lifecycle lifecycle)
throws javax.faces.FacesException
- Specified by:
getFacesContext
in class javax.faces.context.FacesContextFactory
- Throws:
javax.faces.FacesException
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.