Select to Set type conversion now fails
---------------------------------------
Key: WW-2047
URL: https://issues.apache.org/struts/browse/WW-2047
Project: Struts 2
Issue Type: Bug
Components: Views
Affects Versions: 2.0.8
Environment: freemarker
Reporter: Jasper Rosenberg
In action with setter/getter:
private Set<Make> serviced = new HashSet<Make>();
// In template:
<@s.select id="serviced" label="Serviced" size="5" multiple="true"
name="serviced" value="serviced.{id}"
listValue="name" listKey="id" list="makes"/>
In xwork-conversion.properties, I declare a custom type convertor from id
(which is a String) to Make.
In 2.0.6, this works great.
In 2.0.8 though I end up with a set of id Strings rather than the Set of Makes.
I put a breakpoint in my type convertor, and sure enough in 2.0.8, it is never
getting invoked.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.