org.apache.struts2.views.tiles
Class TilesResult

java.lang.Object
  extended by org.apache.struts2.dispatcher.StrutsResultSupport
      extended by org.apache.struts2.dispatcher.ServletDispatcherResult
          extended by org.apache.struts2.views.tiles.TilesResult
All Implemented Interfaces:
com.opensymphony.xwork2.Result, Serializable, StrutsStatics

public class TilesResult
extends ServletDispatcherResult

First implementation of Tiles 3 support Please follow the link to read more how to configure the result http://stackoverflow.com/questions/13337938/how-to-integrate-struts-2-with-tiles-3 or check the docs https://cwiki.apache.org/confluence/display/WW/Tiles+3+Plugin

Author:
Ken McWilliams
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts2.dispatcher.StrutsResultSupport
DEFAULT_PARAM
 
Fields inherited from interface org.apache.struts2.StrutsStatics
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
 
Constructor Summary
TilesResult()
           
TilesResult(String location)
           
 
Method Summary
 void doExecute(String location, com.opensymphony.xwork2.ActionInvocation invocation)
           
protected  org.apache.tiles.TilesContainer initTilesContainer(org.apache.tiles.request.ApplicationContext applicationContext, org.apache.tiles.request.servlet.ServletRequest servletRequest)
           
 
Methods inherited from class org.apache.struts2.dispatcher.ServletDispatcherResult
setUrlHelper
 
Methods inherited from class org.apache.struts2.dispatcher.StrutsResultSupport
conditionalParse, conditionalParseCollection, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TilesResult

public TilesResult()

TilesResult

public TilesResult(String location)
Method Detail

doExecute

public void doExecute(String location,
                      com.opensymphony.xwork2.ActionInvocation invocation)
               throws Exception
Overrides:
doExecute in class ServletDispatcherResult
Throws:
Exception

initTilesContainer

protected org.apache.tiles.TilesContainer initTilesContainer(org.apache.tiles.request.ApplicationContext applicationContext,
                                                             org.apache.tiles.request.servlet.ServletRequest servletRequest)


Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.