Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4210

@TypeConversion converter attribut to class

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.12
    • Component/s: Annotations
    • Labels:
      None

      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") })
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lukaszlenart Lukasz Lenart
                Reporter:
                jflefebvre lefebvre
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: