Velocity
Velocity Tools
Subprojects
|
Velocity Tools Changes
|
|
This document tracks the changes in Velocity Tools between releases.
1.1-dev
|
|
This section describes changes after the 1.1-beta release.
- Upgraded/refactored MathTool to add floor() and ceil(), make type-handling more intuitive and flexible, and improve number parsing. (ndb)
- Improved resource bundle support in ActionMessagesTool. (ndb)
- ErrorsTool now extends ActionMessagesTool. (ndb)
- LinkTool now encodes URLs using the response's character encoding. (ndb)
- Removed inadvertant JDK 1.4 dependencies from ImportSupport. (ndb)
- Made XMLToolboxManager not abstract (#24840). (ndb)
- De-staticized non-private methods in RenderTool and LinkTool. (ndb)
- Added NumberTool for formatting numbers (contributed by Mike Kienenberger). (ndb)
- Filled out and cleaned up DateTool's toDate(...) methods. (ndb)
- Changed VelocityViewServlet's error method to print the stack trace of the root cause when it encounters a MethodInvocationException. (ndb)
- Added importAttributes() method to TilesTool to automatically put all attributes of the current Tiles context into the Velocity context. (maj)
- Replaced TilesTool's getString(String) method with getAttribute(String) in order to support "put lists." (maj)
|
1.1-beta1
|
|
This section describes changes after the 1.0 release.
- Made VelocityViewServlet use response.getOutputStream() if response.getWriter() fails. This is functionality is deprecated and provided as a migration path from 1.0 behavior. (dlr, ndb)
- De-staticized MathTool to make it extendable. (ndb)
- Factored common functionality of ErrorsTool, MessageTool, and ActionMessagesTool into abstract MessageResourcesTool. (ndb)
- Added ImportTool as a simple ImportSupport-based tool. (maj)
- Converted TilesTool to extend ImportSupport. This allows easy mixing of view technologies (JSP, Velocity, etc.) in VelocityStruts applications. (thanks go to Matthew Payne for the idea!) (maj)
- Added ImportSupport class for building tools that can import resources from local or remote URLS. (maj)
- Overhauled DateTool to make it more extendable, user-friendly, and add support for standard, localized date-time styles (see DateTool javadoc for more). (ndb)
- Added support for specifying message resource bundles to StrutsUtils, ErrorsTool, ActionMessagesTool, and MessageTool. (maj,ndb)
- Added commons-validator (1.0.2) and sslext jars to library. (maj)
- Added SecureLinkTool for using Struts SSL Extension with VelocityStruts. (maj)
- Added ValidatorTool to provide Struts 1.1 javascript validation for VelocityStruts. (maj)
- output.encoding property (if non-default) is appended to default content-type as the charset. (ndb)
- VelocityViewServlet now uses response.getWriter() instead of response.getOutputStream() as suggested by Matthew Payne. (ndb)
- Improved VelocityViewServlet error handling (exceptions are logged and error() is now more robust). (ndb)
- Put VelocityViewServlet's requestCleanup() call in a 'finally' clause to allow clean after errors during a request. (dlr)
- Fixed miscellaneous javadoc and doc typos (many of which were reported by Takayoshi Kimura) (ndb)
- Allow system to reclaim objects held by pooled writers in VelocityViewServlet (see bug 18951) (ndb)
- Changed LinkTool to automatically check for XHTML setting (ndb)
- Added support for standard XHTML mode setting via toolbox config (ndb)
- Moved request/response/session/application keys to ViewContext and add getAttribute() method (ndb)
- Added selectModule() and getForwardURL() to StrutsUtils (maj)
- Convert VelocityStruts tools to use new StrutsUtils methods and be module aware (maj)
- Removed unused imports from StrutsLinkTool (ndb)
- Refactor StrutsUtils to use Struts 1.1 classes and support modules (maj)
- Added TilesTool (maj)
- Allow subclasses of VelocityViewServlet to use different ToolboxManager implementations (ndb)
- Added CookieTool (contributed by Dmitri Colebatch) (ndb)
- Added demo of <data> elements to simple VelocityView example (ndb)
- Made simple VelocityStruts example catch Commons-Logging output with LogSystemCommonsLog (ndb)
- Convert toolbox setup to use Digester instead of dom4j (ndb)
- Added LogSystemCommonsLog and CommonsLogLogSystem to provide bridges between Commons-Logging and Velocity's LogSystem (ndb)
- Added Commons Logging 1.0.3 jar (ndb)
- Added ActionMessagesTool (ndb)
- Upgrade deprecated Struts 1.0 uses in examples (ndb)
- Updated jars to Struts 1.1, BeanUtils 1.6.1, Digester 1.5, Collections 2.1 (ndb)
|
|
|