@Deprecated public class InsertTemplateVModel extends Object implements Executable, BodyExecutable
InsertTemplateModel
to be used in Velocity. For the list of
parameters, see
InsertTemplateModel.start(org.apache.tiles.TilesContainer, Object...)
, InsertTemplateModel.end(org.apache.tiles.TilesContainer,
String, String, String, String, String, Object...)
and
InsertTemplateModel.execute(org.apache.tiles.TilesContainer,
String, String, String, String, String, Object...)
.Constructor and Description |
---|
InsertTemplateVModel(InsertTemplateModel model,
javax.servlet.ServletContext servletContext)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.apache.velocity.runtime.Renderable |
end(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context velocityContext)
Deprecated.
Ends the execution of the commands.
|
org.apache.velocity.runtime.Renderable |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context velocityContext,
Map<String,Object> params)
Deprecated.
Executes the command.
|
void |
start(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.apache.velocity.context.Context velocityContext,
Map<String,Object> params)
Deprecated.
Starts the execution of the commands.
|
public InsertTemplateVModel(InsertTemplateModel model, javax.servlet.ServletContext servletContext)
model
- The template model.servletContext
- The servlet context.public org.apache.velocity.runtime.Renderable execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,Object> params)
execute
in interface Executable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.params
- The map of the parameters.public org.apache.velocity.runtime.Renderable end(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext)
end
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.public void start(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,Object> params)
start
in interface BodyExecutable
request
- The HTTP request.response
- The HTTP response-velocityContext
- The Velocity context.params
- The map of the parameters.Copyright © 2017. All rights reserved.