Package webwork.view.velocity
Class WebWorkUtil
java.lang.Object
webwork.view.velocity.WebWorkUtil
WebWork utility methods for Velocity templates
- Version:
- $Revision: 1.12 $
- Author:
- Rickard Öberg (rickard@dreambean.com)
-
Constructor Details
-
WebWorkUtil
public WebWorkUtil(org.apache.velocity.context.Context ctx)
-
-
Method Details
-
action
- Throws:
Exception
-
execute
- Throws:
Exception
-
bean
- Throws:
Exception
-
include
public String include(Object aName, javax.servlet.ServletRequest aRequest, javax.servlet.ServletResponse aResponse) throws Exception - Throws:
Exception
-
toLong
public long toLong(int anInt) -
toLong
-
toInt
public int toInt(long aLong) -
toString
-
toString
-
evaluate
public String evaluate(String expression) throws IOException, org.apache.velocity.exception.ResourceNotFoundException, org.apache.velocity.exception.MethodInvocationException, org.apache.velocity.exception.ParseErrorException - Throws:
IOExceptionorg.apache.velocity.exception.ResourceNotFoundExceptionorg.apache.velocity.exception.MethodInvocationExceptionorg.apache.velocity.exception.ParseErrorException
-