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:
Antonio Petrelli
2007-02-23 14:36:25 +00:00
parent 6ee6d699f5
commit c0d4fe51fb
2 changed files with 3 additions and 3 deletions
@@ -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);
}
}