webwork.view.velocity
Class VelocityHelper
java.lang.Object
webwork.view.velocity.VelocityHelper
- public class VelocityHelper
- extends java.lang.Object
- Author:
- Hani Suleiman (hani@formicary.net)
Date: Nov 15, 2003
Time: 11:21:14 AM
Field Summary |
static java.lang.String |
REQUEST
The HTTP request object context key. |
static java.lang.String |
RESPONSE
The HTTP response object context key. |
static java.lang.String |
VELO_CONTEXT
|
Method Summary |
static org.apache.velocity.context.Context |
getContext(javax.servlet.ServletContext context,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
|
static void |
initVelocity(javax.servlet.ServletContext context)
Hook up Velocity with the WebWork configuration. |
static void |
merge(org.apache.velocity.context.Context context,
java.lang.String templateName,
java.io.Writer writer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST
public static final java.lang.String REQUEST
- The HTTP request object context key.
- See Also:
- Constant Field Values
RESPONSE
public static final java.lang.String RESPONSE
- The HTTP response object context key.
- See Also:
- Constant Field Values
VELO_CONTEXT
public static final java.lang.String VELO_CONTEXT
- See Also:
- Constant Field Values
VelocityHelper
public VelocityHelper()
initVelocity
public static void initVelocity(javax.servlet.ServletContext context)
throws java.lang.Exception
- Hook up Velocity with the WebWork configuration.
- Throws:
java.lang.Exception
merge
public static void merge(org.apache.velocity.context.Context context,
java.lang.String templateName,
java.io.Writer writer)
getContext
public static org.apache.velocity.context.Context getContext(javax.servlet.ServletContext context,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Copyright © 2001-2003 WebWork All Rights Reserved.