[ 
https://issues.apache.org/jira/browse/WW-4210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lukasz Lenart updated WW-4210:
------------------------------
    Fix Version/s:     (was: 2.5.x)
                   2.5.7

> @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
>             Fix For: 2.5.7
>
>
> Can you please change "converter" property type from String to class type.
> {code}
> @Conversion(conversions = { @TypeConversion(type = ConversionType.CLASS, rule 
> = ConversionRule.PROPERTY, converter = "com.xxx.MyConverter", key = "myKey") 
> })
> {code}
> ---->
> {code}
> @Conversion(conversions = { @TypeConversion(type = ConversionType.CLASS, rule 
> = ConversionRule.PROPERTY, converter = MyConverter.class, key = "myKey") })
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to