[ https://issues.apache.org/jira/browse/WW-3871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3871: ------------------------------ Fix Version/s: 7.1.0 (was: 7.0.0) > TypeConversion annotation support improvement > --------------------------------------------- > > Key: WW-3871 > URL: https://issues.apache.org/jira/browse/WW-3871 > Project: Struts 2 > Issue Type: Improvement > Components: Plugin - Convention > Affects Versions: 2.3.4.1 > Reporter: Pavan Ananth > Priority: Major > Fix For: 7.1.0 > > > The annotation support for TypeConversion in Struts 2 is too literal an > interpretation of the XML support. For instance, I am required to supply this > if I have choose the CreateIfNull feature at a property level : > @TypeConversion(key="CreateIfNull_users", rule=ConversionRule.CreateIfNull, > value="true") > List<User> users; > Given that the rule is CreateIfNull, the key can be constructed implicitly > using property name - why is it asked of an user to type in the full key. > This holds good for the other supported ConversionRules as well -- This message was sent by Atlassian Jira (v8.20.10#820010)