com.opensymphony.webwork.util
Class VelocityWebWorkUtil

java.lang.Object
  extended by com.opensymphony.webwork.util.WebWorkUtil
      extended by com.opensymphony.webwork.util.VelocityWebWorkUtil

public class VelocityWebWorkUtil
extends WebWorkUtil

WebWork velocity related util.

Author:
CameronBraid

Field Summary
 
Fields inherited from class com.opensymphony.webwork.util.WebWorkUtil
classes, log, ognl, request, response, stack
 
Constructor Summary
VelocityWebWorkUtil(org.apache.velocity.context.Context ctx, OgnlValueStack stack, HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
 String evaluate(String expression)
           
 
Methods inherited from class com.opensymphony.webwork.util.WebWorkUtil
bean, buildUrl, findString, findValue, getContext, getText, htmlEncode, include, include, isTrue, makeSelectList, textToHtml, toInt, toLong, toLong, toString, toString, urlEncode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VelocityWebWorkUtil

public VelocityWebWorkUtil(org.apache.velocity.context.Context ctx,
                           OgnlValueStack stack,
                           HttpServletRequest request,
                           HttpServletResponse response)
Method Detail

evaluate

public String evaluate(String expression)
                throws IOException,
                       org.apache.velocity.exception.ResourceNotFoundException,
                       org.apache.velocity.exception.MethodInvocationException,
                       org.apache.velocity.exception.ParseErrorException
Throws:
IOException
org.apache.velocity.exception.ResourceNotFoundException
org.apache.velocity.exception.MethodInvocationException
org.apache.velocity.exception.ParseErrorException

WebWork Project Page