WebWork 2.2.1 Release Notes

Key Changes

Portlet Integration

  • JSR-168 portlet integration support Which portal servers are supported
  • Improved webwork-portlet sample application
  • Added deployment descriptors for various portal servers

Validation

UI Tags

Tools

  • Quickstart improvement
  • Maven support through pom.xml

Misc

Migration Notes

WebWork 2.2.1 is a bugfix release for the 2.2 release a month ago.
If you have used the previous portlet integration code, you should check the portlet-webapp for an example.

The DTD public IDs in xwork.dtd were incorrect in the 1.1. release.
Make sure your DOCTYPE definitions for xwork.xml files look like this:

For xwork 1.1:

<!DOCTYPE xwork PUBLIC 
	"-//OpenSymphony Group//XWork 1.1//EN" 
	"http://www.opensymphony.com/xwork/xwork-1.1.dtd">

For xwork 1.1.1:

<!DOCTYPE xwork PUBLIC 
	"-//OpenSymphony Group//XWork 1.1.1//EN"
	"http://www.opensymphony.com/xwork/xwork-1.1.1.dtd">

Changelog

For a complete list of all the changes, please refer to the complete changelog

OpenSymphony JIRA (69 issues)
T Key Summary
Bug WW-1203 wrong tag for freemarker result (ww.optiontransferselect, ww.actionerror, ww.actionmessage)
Task WW-1143 Create blank webapp application with an ant target to create a getting started webapp
Task WW-1142 Move starter webapp samples to showcase webapp
Task WW-1141 Update ivy for 2.2.1 release
Bug WW-1140 Version of Xwork DTD
Task WW-1139 Document advanced features of Collection and Map type conversion
Bug WW-1138 Included XWork librarys ....xwork.ObjectFactory.getClassInstance calls ....util.ClassLoaderUtil which actually exists with an s at the end
Bug WW-1137 Dist target does not copy osbuild.xml to dist dir
New Feature WW-1136 Add a UpDownSelect component
Bug WW-1134 Extension should not be limited for action mapper
Bug WW-1132 webwork looking for /template/xhtml/a-close.ftl
Improvement WW-1130 ability to programmatically set velocity properties
Bug WW-1129 Debug tag not exposed to VelocityManager, DebugDirective missing
Bug WW-1128 Sitemesh Velocity Integration renders uneval'd templates
Bug WW-1127 DevMode impacts pageflow logic
Bug WW-1126 Quickstart won't work with Java 5 code
Improvement WW-1125 optiontransferselect tag should add its respective entries when the form it is included is submitted
Improvement WW-1124 optiontrasferselect tag uses capitals for html tag.
Bug WW-1121 Freemarker error if "name" parameter is missing
Improvement WW-1120 Allow setting templateSuffix on a per Page basis (With patch and UntiTests)
Task WW-1118 Improve portlet sample webapp
Bug WW-1117 int validator in javascript throws exception if only min or max are set
Bug WW-1116 ww:select tag works only with string variables
Task WW-1115 Refactor portlet implementation
Sub-task WW-1114 Stack overflow bug fix implemented incorrectly?
Bug WW-1112 XML Field Validation Required not working on Integer or Long values
Task WW-1111 Debug component should be moved into c.o.w.components package
Bug WW-1110 Debug Tag not working with FTL
Bug WW-1109 the javascript in the DHTML response from remove DIV has not yet be evaluated
Bug WW-1108 ognl.OgnlException: templateDir [java.lang.StackOverflowError]
New Feature WW-1107 Client-side javascript for basic validators
Bug WW-1106 More Config Browser issues
Bug WW-1105 javadoc typo in TokenInterceptor
Task WW-1104 UITag tests need improvements
Bug WW-1103 jsessionid params appended to css and js includes
Bug WW-1102 Multipart requests are not cleaned up correctly
Bug WW-1101 jsp view cannot generate onsubmit html tag correctly.
Bug WW-1099 ScopeInterceptor has hardcoded dependencies on HttpServletRequest, etc
Task WW-1098 Maven Repository at ibiblio does not contain required dependencies for WW/XW
Bug WW-1096 datapicker tag cannot display calendar correctly when browser's locale is zh_CN.
Improvement WW-1093 Method Specification for Validation
Bug WW-1092 Fix validation regexps for url and email in xhtml theme
Bug WW-1091 WebWorkModels attribute names should be named as in TLD
Bug WW-1090 debug.ftl template is broken
Task WW-1089 Update ivy descriptor for 2.2.1
Bug WW-1088 the prefixs in DefaultActionMapper will cause ParametersInterceptor problem(OGNL parse error)
Improvement WW-1087 make includeParams of URL don't override explicit params
Bug WW-1086 Various 2.2 issues from Eugene
Bug WW-1085 Datepicker i18n related javascript errors
Bug WW-1084 quickstart CRUD skill example attempt to save/update result in error 500
Bug WW-1083 Stack overflow in <ww:form> tag getTheme(), getAncestor(), when 2 forms on a page
Bug WW-1082 ServletRedirectResult computes wrong URL when the root namespace is used
Bug WW-1081 Some error for template\xhtml\form-close-validate.ftl
Bug WW-1080 JSTL support not functioning correctly
Task WW-1079 Test portlet integration against the eXo platform
New Feature WW-1068 Property "title" to jsp tags
Improvement WW-1060 add tr attribute to ui tag component
Improvement WW-1027 ValidationInterceptor and DefaultWorkflowInterceptor Improvements for forwarding to another action when meeting validation error
Bug WW-978 ww:sort ww:generator and ww:subset tags are broken
Bug WW-958 Config-Browser don't respect webwork.action.extension = jspx
Task WW-908 Client side validation?
Bug WW-906 href class has issues w/ altSyntax == false
Task WW-874 Document Portlet stuff
New Feature WW-838 Create a new ww:css tag
Improvement WW-830 PROTOTYPE: Add configuration options for flexibility
Bug WW-818 URLEncoder.encode,ignore the charset
Bug WW-795 Can't override default webwork messages
Bug WW-793 Message with key "webwork.internal.invalid.token" is never used
Improvement WW-688 Refactor TokenInterceptor and TokenHelper (and affected classes)