Overview
VelocityStruts includes both the GenericTools and VelocityView and adds tools for use in Struts 1.x applications. These tools match the functions of the key Struts taglibs and provide access to Struts resources, messages, tiles, validation functions and more.
Default Configuration
The default configuration provided for VelocityStruts is here and here and here.
Dependencies
TODO: just link to an anchor in a comprehensive dependencies overview page?
- Compile Time Requirements
- commons-beanutils
- commons-collections
- commons-digester
- commons-lang
- commons-logging
- commons-validator
- servlet api
- ssl-ext
- struts-core
- struts-taglib
- struts-tiles
- velocity
- Runtime Requirements
- commons-beanutils - core infrastructure, MathTool, SortTool
- commons-digester - xml configuration
- commons-lang - EscapeTool
- commons-validator - ValidatorTool
- servlet - all VelocityView and VelocityStruts tools except ViewRenderTool
- ssl-ext - SecureLinkTool
- struts-core - all VelocityStruts tools
- struts-taglib - FormTool, SecureLinkTool, StrutsLinkTool
- struts-tiles - TilesTool
- velocity - ClassTool, AbstractSearchTool, ContextTool, ImportTool, IteratorTool, LinkTool, MultiViewsTool, ViewRenderTool, SecureLinkTool, StrutsLinkTool, MessageTool,
Tools
- ActionMessagesTool - For accessing/displaying Struts action messages.
- ErrorsTool - For accessing/displaying Struts error messages.
- FormTool - For working with HTML forms in Struts apps.
- MessageResourcesTool - Abstract view tool that provides access to Struts message resources.
- MessageTool - Provides methods to render Struts application resources (for i18n and other textual content access).
- SecureLinkTool - For using Struts SSL Extensions. It has the same interface as StrutsLinkTool and can function as a substitute if Struts 1.x and SSL Ext are installed.
- StrutsLinkTool - Subclass of LinkTool for creating URI links in Struts by adding support for Struts actions and forwards.
- TilesTool - For using Struts-Tiles (not for Tiles 2!) in Velocity.
- ValidatorTool - Uses Struts-Validator to produce client side javascript validation for your forms.