org.apache.tiles.velocity.template
Class ImportAttributeVModel
java.lang.Object
org.apache.tiles.velocity.template.ImportAttributeVModel
- All Implemented Interfaces:
- Executable
public class ImportAttributeVModel
- extends Object
- implements Executable
Wraps ImportAttributeModel to be used in Velocity. For the list of
parameters, see
ImportAttributeModel.getImportedAttributes(org.apache.tiles.TilesContainer,
String, String, boolean, Object...).
- Since:
- 2.2.0
- Version:
- $Rev: 765774 $ $Date: 2009-04-16 23:43:00 +0200 (gio, 16 apr 2009) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportAttributeVModel
public ImportAttributeVModel(ImportAttributeModel model,
ServletContext servletContext)
- Constructor.
- Parameters:
model - The template model.servletContext - The servlet context.- Since:
- 2.2.0
execute
public Renderable execute(HttpServletRequest request,
HttpServletResponse response,
Context velocityContext,
Map<String,Object> params)
- 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-2009 Apache Software Foundation. All Rights Reserved.