ErrorsTool Class - Documentation topics on: deprecated,errorstool,velocity tools,viewtools,.

ErrorsTool Class
Deprecated

org.apache.velocity.tools.struts
Class ErrorsTool

java.lang.Object
extended byorg.apache.velocity.tools.struts.MessageResourcesTool
extended byorg.apache.velocity.tools.struts.ActionMessagesTool
extended byorg.apache.velocity.tools.struts.ErrorsTool
All Implemented Interfaces:
ViewTool

public class ErrorsTool
extends ActionMessagesTool

 

View tool to work with the Struts error messages.

 Template example(s):


Toolbox configuration:
<tool>
<key>errors</key>
<scope>request</scope>
<class>org.apache.velocity.tools.struts.ErrorsTool</class>
</tool>

This tool should only be used in the request scope.

Since VelocityTools 1.1, ErrorsTool extends ActionMessagesTool.

Since:
VelocityTools 1.0
Version:
$Id: ErrorsTool.java 72033 2004-03-12 23:44:51Z nbubna $
Author:
Gabe Sidler, Nathan Bubna

For complete documentation on this viewtool use the following link: ErrorsTool