org.apache.myfaces.webapp.filter
Class TomahawkFacesContextFactory

java.lang.Object
  extended by javax.faces.context.FacesContextFactory
      extended by org.apache.myfaces.webapp.filter.TomahawkFacesContextFactory

public class TomahawkFacesContextFactory
extends javax.faces.context.FacesContextFactory

The objective of this factory is this: 1. Wrap a multipart request (used for t:inputFileUpload), so the request could be correctly decoded. 2. 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: 691871 $ $Date: 2008-09-03 23:32:08 -0500 (Wed, 03 Sep 2008) $
Author:
Martin Marinschek (latest modification by $Author: lu4242 $)

Field Summary
static java.lang.String DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER
           
 
Constructor Summary
TomahawkFacesContextFactory(javax.faces.context.FacesContextFactory delegate)
           
 
Method Summary
 javax.faces.context.FacesContext getFacesContext(java.lang.Object context, java.lang.Object request, java.lang.Object response, javax.faces.lifecycle.Lifecycle lifecycle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER

public static final java.lang.String DISABLE_TOMAHAWK_FACES_CONTEXT_WRAPPER
See Also:
Constant Field Values
Constructor Detail

TomahawkFacesContextFactory

public TomahawkFacesContextFactory(javax.faces.context.FacesContextFactory delegate)
Method Detail

getFacesContext

public javax.faces.context.FacesContext getFacesContext(java.lang.Object context,
                                                        java.lang.Object request,
                                                        java.lang.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 © 2008 The Apache Software Foundation. All Rights Reserved.