This project has retired. For details please refer to its Attic page.
InsertAttributeVModel (Tiles 2 2.2.2 API)

org.apache.tiles.velocity.template
Class InsertAttributeVModel

Package class diagram package InsertAttributeVModel
java.lang.Object
  extended by org.apache.tiles.velocity.template.InsertAttributeVModel
All Implemented Interfaces:
BodyExecutable, Executable

Deprecated. Use Velocity directives.

@Deprecated
public class InsertAttributeVModel
extends Object
implements Executable, BodyExecutable

Wraps 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...).

Since:
2.2.0
Version:
$Rev: 901361 $ $Date: 2010-01-20 21:10:27 +0100 (mer, 20 gen 2010) $

Constructor Summary
InsertAttributeVModel(InsertAttributeModel model, ServletContext servletContext)
          Deprecated. Constructor.
 
Method Summary
 org.apache.velocity.runtime.Renderable end(HttpServletRequest request, HttpServletResponse response, org.apache.velocity.context.Context velocityContext)
          Deprecated. Ends the execution of the commands.
 org.apache.velocity.runtime.Renderable execute(HttpServletRequest request, HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,Object> params)
          Deprecated. Executes the command.
 void start(HttpServletRequest request, HttpServletResponse response, org.apache.velocity.context.Context velocityContext, Map<String,Object> params)
          Deprecated. Starts the execution of the commands.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InsertAttributeVModel

public InsertAttributeVModel(InsertAttributeModel model,
                             ServletContext servletContext)
Deprecated. 
Constructor.

Parameters:
model - The template model.
servletContext - The servlet context.
Since:
2.2.0
Method Detail

end

public org.apache.velocity.runtime.Renderable end(HttpServletRequest request,
                                                  HttpServletResponse response,
                                                  org.apache.velocity.context.Context velocityContext)
Deprecated. 
Ends the execution of the commands.

Specified by:
end in interface BodyExecutable
Parameters:
request - The HTTP request.
response - The HTTP response-
velocityContext - The Velocity context.
Returns:
A renderable object. It does not necessary render anything.

start

public void start(HttpServletRequest request,
                  HttpServletResponse response,
                  org.apache.velocity.context.Context velocityContext,
                  Map<String,Object> params)
Deprecated. 
Starts the execution of the commands.

Specified by:
start in interface BodyExecutable
Parameters:
request - The HTTP request.
response - The HTTP response-
velocityContext - The Velocity context.
params - The map of the parameters.

execute

public org.apache.velocity.runtime.Renderable execute(HttpServletRequest request,
                                                      HttpServletResponse response,
                                                      org.apache.velocity.context.Context velocityContext,
                                                      Map<String,Object> params)
Deprecated. 
Executes the command.

Specified by:
execute in interface Executable
Parameters:
request - The HTTP request.
response - The HTTP response-
velocityContext - The Velocity context.
params - The map of the parameters.
Returns:
A renderable object. It does not necessary render anything.


Copyright © 2001-2010 Apache Software Foundation. All Rights Reserved.