GitHub user apexcapital opened a pull request:
https://github.com/apache/struts/pull/23
Support java.util.Set objects of complex type to be set through the Params
interceptor
Currently, the Params interceptor can not properly map request parameters
onto a java.util.Set object of complex type. This borrows some code from the
XWorkListPropertyAccessor to properly create the complex objects.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apexcapital/struts develop
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/struts/pull/23.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #23
----
commit ff17307afc1c3264d5abbb9beaf0690f0a471e68
Author: Josh Mabry <[email protected]>
Date: 2014-08-26T21:39:54Z
If you are wanting a Set, we should give you a Set
commit ca9dbb1fb97a726e3961973f8941144461749293
Author: Josh Mabry <[email protected]>
Date: 2014-08-26T21:41:16Z
Allow a Set to be of Complex Objects. This was based off the setProperty
of the XWorkListPropertyAccessor
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]