Apache Projects/Jakarta

[Velocity] Velocity Tools 한눈에 보기 좋게 정리

아름프로 2004. 2. 18. 00:41
사이트의 Velocity Tools을 처음 접하시는 분은
Generic Tools / VelocityView Tools / VelocityStruts
3개의 큰 카테고리(!)와 그 안에 세분화 된 Tool이 있다는 것을
어렵게 이해할 수 있답니다.
한눈으로 파악하기 좋게 옮겨봤습니다.


================================================
Generic Tools
--------------------------------------------------------------------------------------
DateTool :
A tool for manipulating and formatting dates.

MathTool :
A tool for performing floating point math.

NumberTool :
A tool for formatting numbers.

IteratorTool :
A convenience tool to use with #foreach loops. It wraps a list to let the designer specify a condition to terminate the loop, and reuse the same list in different loops.

RenderTool :
A tool to evaluate and render arbitrary strings of VTL (Velocity Template Language).

==================================================
VelocityView Tools
--------------------------------------------------------------------------------------
AbstractSearchTool :
Abstract view tool for doing "searching" and robust pagination of search results.

CookieTool :
View tool for convenient cookie access and creation.

LinkTool :
The LinkTool provides methods to work with URIs:

ParameterParser :
View tool for easy parsing of ServletRequest parameters.

ViewRenderTool :
This tool expose methods to evaluate the given strings as VTL (Velocity Template Language) and automatically using the current context

==================================================
VelocityStruts
--------------------------------------------------------------------------------------
ActionMessagesTool :
View tool to work with the Struts action messages.

ErrorsTool :
This tool deals with Struts error messages.

FormTool :
Struts has support to parse incoming HTTP requests and populate a Java bean with the submitted request

MessageTool :
The MessageTool is used to render internationalized message strings.

SecureLinkTool :
Tool to be able to use Struts SSL Extensions with Velocity

StrutsLinkTool :
The StrutsLinkTool extends the standard LinkTool to add methods for working with Struts' Actions and Forwards

TilesTool :
View tool to use struts-tiles with Velocity

ValidatorTool :
View tool that works with Struts Validator to produce client side javascript validation for your forms.

=============================================