Package org.apache.tiles.context.servlet

Examples of org.apache.tiles.context.servlet.ServletTilesRequestContext


                                                    Object request,
                                                    Object response) {
        ServletContext servletContext = getServletContext(context);
        PortletContext portletContext = getPortletContext(context);
        if (servletContext != null) {
            return new ServletTilesRequestContext(servletContext,
                (HttpServletRequest) request,
                (HttpServletResponse) response);
        } else if (portletContext != null) {
            PortletTilesApplicationContext app = (PortletTilesApplicationContext) context;
            return new PortletTilesRequestContext(app.getPortletContext(),
View Full Code Here


    public TilesRequestContext createRequestContext(TilesApplicationContext context,
                                                    Object... requestItems) {
        if (requestItems.length == 2) {
            ServletContext servletContext = getServletContext(context);
            if (servletContext != null) {
                return new ServletTilesRequestContext(servletContext,
                    (HttpServletRequest) requestItems[0],
                    (HttpServletResponse) requestItems[1]);
            }
        }
       
View Full Code Here

TOP

Related Classes of org.apache.tiles.context.servlet.ServletTilesRequestContext

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.