public class StrutsTilesRequestContext
extends org.apache.tiles.context.TilesRequestContextWrapper
Default implementation of TilesUtil. This class contains default implementation of utilities. This implementation is intended to be used without Struts.
TilesUtilImpl implementation used to intercept .ftl requests and
ensure that they are setup properly to take advantage of the
FreemarkerResult
.
Constructor and Description |
---|
StrutsTilesRequestContext(org.apache.tiles.context.TilesRequestContext context)
Default constructor.
|
StrutsTilesRequestContext(org.apache.tiles.context.TilesRequestContext context,
String mask)
Optional constructor used to specify a specific mask.
|
Modifier and Type | Method and Description |
---|---|
void |
dispatch(String include) |
void |
include(String include)
Enhancement of the default include which allows for freemarker
templates to be intercepted so that the FreemarkerResult can
be used in order to setup the appropriate model.
|
public StrutsTilesRequestContext(org.apache.tiles.context.TilesRequestContext context)
context
- public StrutsTilesRequestContext(org.apache.tiles.context.TilesRequestContext context, String mask)
mask
- context
- public void dispatch(String include) throws IOException
dispatch
in interface org.apache.tiles.context.TilesRequestContext
dispatch
in class org.apache.tiles.context.TilesRequestContextWrapper
IOException
public void include(String include) throws IOException
include
in interface org.apache.tiles.context.TilesRequestContext
include
in class org.apache.tiles.context.TilesRequestContextWrapper
IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.