[EMAIL PROTECTED] writes: > sidler 02/04/03 01:10:03 > > Added: tools README.txt build.xml > tools/lib jdbc2_0-stdext.jar servlet.jar struts.jar > velocity-tools-view-0.4.jar > tools/src/conf MANIFEST.MF > tools/src/java/org/apache/velocity/tools/tools DateTool.java > MathTool.java ParameterParser.java ToolLoader.java > package.html > tools/xdocs DateTool.xml MathTool.xml ParameterParser.xml > ToolLoader.xml > Log: > Added package tools. This is intended to host various reusable context > tools. Currently hosted tools are DateTool, MathTool, RequestParser and > ToolLoader. All tools are optimized to be used with an auto-loading toolbox > manager and come with documentation for the template designers. A > documentation snapshot is online at: > http://www.teamup.com/jakarta-velocity-tools/docs/vellibrary.html
It's kinda of too bad your MessageTool is so tied to Struts (just as mine in Turbine is tied to Fulcrum -- both our tools delegate the request Accept-Language header parsing off to other code), as this new package would be a great place for it. It would be worth-while to have some sort of I18N/L10N interface in this new package which misc. localization tools can implement. Also, my MultiViewsTool content negotiation tool is in the view package. What distinction can we make to clearly show what types of tools belong in which package (i.e. if it's view-related, does it always go into view, or does it go into tools because it's a context tool)? - Dan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
