You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "lefebvre (JIRA)" <ji...@apache.org> on 2013/09/27 09:31:05 UTC
[jira] [Updated] (WW-4210) @TypeConversion converter attribut to
class
[ https://issues.apache.org/jira/browse/WW-4210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
lefebvre updated WW-4210:
-------------------------
Description:
Can you please change "converter" property type from String to class type.
@Conversion(conversions = { @TypeConversion(type = ConversionType.CLASS, rule = ConversionRule.PROPERTY, converter = "com.xxx.MyConverter", key = "myKey") })
---->
@Conversion(conversions = { @TypeConversion(type = ConversionType.CLASS, rule = ConversionRule.PROPERTY, converter = MyConverter.class, key = "myKey") })
was:
Can you please change "rule" property type from String to class type.
@Conversion(conversions = { @TypeConversion(type = ConversionType.CLASS, rule = ConversionRule.PROPERTY, converter = "com.xxx.MyConverter", key = "myKey") })
---->
@Conversion(conversions = { @TypeConversion(type = ConversionType.CLASS, rule = ConversionRule.PROPERTY, converter = MyConverter.class, key = "myKey") })
> @TypeConversion converter attribut to class
> -------------------------------------------
>
> Key: WW-4210
> URL: https://issues.apache.org/jira/browse/WW-4210
> Project: Struts 2
> Issue Type: Improvement
> Components: Annotations
> Reporter: lefebvre
>
> Can you please change "converter" property type from String to class type.
> @Conversion(conversions = { @TypeConversion(type = ConversionType.CLASS, rule = ConversionRule.PROPERTY, converter = "com.xxx.MyConverter", key = "myKey") })
> ---->
> @Conversion(conversions = { @TypeConversion(type = ConversionType.CLASS, rule = ConversionRule.PROPERTY, converter = MyConverter.class, key = "myKey") })
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira