WebWork 2.1.1 Release Notes

Key Changes

  • Improved integration with Sitemesh
    • WebWork taglibs can be used in Sitemesh decorators to access Action properties
  • Validator short-circuiting to allow validation to stop on first invalid data
  • Improved class hierarchy resource bundle searching
  • File upload support has been rebuilt to allow for multiple files with the same HTTP parameter name. Besides "cos" and "pell" support, "jakarta" support has been added, utilizing the Commons-FileUpload library. Only "jakarta" supports multiple files with the same HTTP parameter name. In future versions "jakarta" may become the default upload library, replacing "pell".

Migration Notes

Version Description Old Code New Code
2.1 There is a new validator DTD: xwork-validator-1.0.2.dtd. You aren't required to use this, but you will need to if you wish to use the new short-circuiting validation N/A N/A
2.1 File upload support has been rebuilt, although we don't see any compatibility problems with 2.1. However, many of the methods in MultiPartRequest have become deprecated in favor of new ones. Please switch to these as soon as possible. N/A N/A

Changelog

WebWork 2.1.1

OpenSymphony JIRA (25 issues)
T Key Summary
Bug WW-1078 Broken links in Shopping-Cart
Bug WW-1077 setting theme in page, context, or session scope has not effect
Task WW-1076 Move all Velocity templates to archive
Task WW-1075 url validator docs
Task WW-1074 AJAX docs screwed up
Task WW-1073 control tags docs snippets are borken
Bug WW-1072 select.ftl emptyOption evaluation
Bug WW-1071 DoubleSelect's second select does not allow a predefined value to be selected
Bug WW-1070 double select created option with key and value wrongly
Improvement WW-1069 Ability to use freemarker map built-ins (?keys, ?values) as well as plain map methods (.keySet(), get(foo))
Improvement WW-1065 TestCase for the Property component
Task WW-1064 have a link in tags page to altsyntax page
New Feature WW-1062 Add a OptionTransferSelect component
Bug WW-1061 checkboxlist.ftl does not allow disabled parameter handling in WW2.2beta4
Task WW-1059 Make the dojo configuration in ww:head hook into the il8n infrastructure
Bug WW-1058 xhtml theme's form-validate.ftl onsubmit javascript is bad
Bug WW-1057 DefaultActionMapper appending extra slash when namespace is "/"
Improvement WW-1056 Change defaultStack order
Improvement WW-1055 Warn when properties are null
Task WW-1054 Include common build in project
Task WW-1053 AJAX Validation Documentation
Bug WW-1052 Always cleanup ActionContext
Improvement WW-1051 Enable tag attribute description to be usable for both javadoc and tagdoclet
Task WW-1050 Add DWR 1.1-beta2 jar to ivy-repository
Bug WW-1049 ChainingInterceptor doesn't accept null of CompoundRoot element

Xwork 1.0.2

OpenSymphony JIRA (15 issues)
T Key Summary
Improvement XW-210 Make default type conversion message a localized text that can be overidden
Bug XW-205 missing xwork 1.0.2 dtd in jar and website and typo in ValidationInterceptor
Improvement XW-204 TextProvider.getText() should look in child property files
Improvement XW-203 Add "trim" parameter to string validators
Bug XW-202 Integer and Float conversion dont work in CVS HEAD
Bug XW-200 i18n broken when the name of the text to find starts with a property exposed by the action
Improvement XW-195 Add interface XWorkStatics which contains XWork-related constants from WebWorkStatics
Improvement XW-194 Patch to help LocalizedTextUtil deal with messages for indexed fields (collections)
Improvement XW-193 InstantiatingNullHandler and Typeconversion fails
Improvement XW-192 Create a version 1.0.2 of the XWork validation DTD with short circuit
Improvement XW-191 Type conversion improvement.
Improvement XW-190 Provide a xwork-default.xml.
Improvement XW-189 Improve ActionValidationManager's short circuit behaviour
Improvement XW-179 Optimise OgnlUtil.copy method
New Feature XW-172 XWorkBasicConverter doesn't care about the current locale