Package org.apache.myfaces.context.servlet

Examples of org.apache.myfaces.context.servlet.ServletExternalContextImpl


            throw new NullPointerException("response");
        }

        if (context instanceof ServletContext)
        {
            ExternalContext externalContext = new ServletExternalContextImpl(
                    (ServletContext) context, (ServletRequest) request, (ServletResponse) response);
           
            externalContext.getRequestMap().put(EXTERNAL_CONTEXT_KEY, externalContext);
           
            return externalContext;
        }
       
        throw new FacesException("Unsupported context type " + context.getClass().getName());
View Full Code Here


        }

        FacesContext facesContext = null;
       
        //We need this instance to be set later.
        ReleaseableExternalContext externalContext = new ServletExternalContextImpl((ServletContext)context,
                    (ServletRequest) request, (ServletResponse) response);
       
        // MyfacesGenericPortlet was replaced by jsr 301 portlet bridge,
        // and the bundled inside myfaces 1.2 sources does not work because
        // there was changes from 1.1 to 1.2 (viewhandler), so we
View Full Code Here

TOP

Related Classes of org.apache.myfaces.context.servlet.ServletExternalContextImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.