mirror of
https://github.com/apache/struts.git
synced 2026-08-11 01:27:14 +00:00
Updated to follow the changes in Tiles API. See TILES-114.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@510959 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+2
-2
@@ -98,8 +98,8 @@ public class StrutsTilesContainerFactory extends TilesContainerFactory {
|
||||
return factory.createApplicationContext(context);
|
||||
}
|
||||
|
||||
public TilesRequestContext createRequestContext(TilesApplicationContext tilesApplicationContext, Object request, Object response) {
|
||||
TilesRequestContext context = factory.createRequestContext(tilesApplicationContext, request, response);
|
||||
public TilesRequestContext createRequestContext(TilesApplicationContext tilesApplicationContext, Object... requestItems) {
|
||||
TilesRequestContext context = factory.createRequestContext(tilesApplicationContext, requestItems);
|
||||
return new StrutsTilesRequestContext(context);
|
||||
}
|
||||
|
||||
|
||||
@@ -101,6 +101,6 @@ public class TilesResult extends ServletDispatcherResult {
|
||||
HttpServletRequest request = ServletActionContext.getRequest();
|
||||
HttpServletResponse response = ServletActionContext.getResponse();
|
||||
|
||||
container.render(request, response, location);
|
||||
container.render(location, request, response);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user