org.tm4j.vtl.struts
Class ContextCopyTool

java.lang.Object
  extended byorg.tm4j.vtl.struts.ContextCopyTool
All Implemented Interfaces:
org.apache.velocity.tools.view.tools.ViewTool

public class ContextCopyTool
extends java.lang.Object
implements org.apache.velocity.tools.view.tools.ViewTool

A Veloctiy/Struts tool that manages the additional page-specific context The tool looks for a request attribute named "context". If the attribute is specified and its value is a Context object, then all values in that Context are transferred to the Context object in the request ViewContext.

Author:
Kal Ahmed (kal@techquila.com)

Constructor Summary
ContextCopyTool()
           
 
Method Summary
 void init(java.lang.Object arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextCopyTool

public ContextCopyTool()
Method Detail

init

public void init(java.lang.Object arg)
Specified by:
init in interface org.apache.velocity.tools.view.tools.ViewTool