struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lefebvre (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4210) @TypeConversion converter attribut to class
Date Fri, 27 Sep 2013 07:31:05 GMT
lefebvre created WW-4210:
----------------------------

             Summary: @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 "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") })


--
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

Mime
View raw message