@Deprecated public class InsertAttributeVModel extends Object implements Executable, BodyExecutable
InsertAttributeModel
to be used in Velocity. For the list of
parameters, see
InsertAttributeModel#start(java.util.Stack, org.apache.tiles.TilesContainer, boolean,
String, String, Object, String, String, String, Attribute, Object...)
, InsertAttributeModel#end(java.util.Stack, org.apache.tiles.TilesContainer, boolean, Object...)
and
InsertAttributeModel.execute(org.apache.tiles.TilesContainer, boolean, String, String,
Object, String, String, String, Attribute, Object...)
.Constructor and Description |
---|
InsertAttributeVModel(InsertAttributeModel 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 InsertAttributeVModel(InsertAttributeModel model, javax.servlet.ServletContext servletContext)
model
- The template model.servletContext
- The servlet context.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.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.Copyright © 2017. All rights reserved.