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

@TypeConversion converter attribut to class

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.5.12
    • Annotations
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: