> Hello,
> thanks for your answer. Have you tried your solution and got it 
> working? I already tried that before, but it always picked up the 
> global converter de.xxxx.converter.StringTrimConverter. But maybe i 
> did something wrong.
> 
> I tried it with @TypeConversion(rule = ConversionRule.MAP, converter
> = "de.converter...") (with annotations and also with a class-
> specific conversion-properties file).
> 
> If a specify a class name that does not exists, i get an exception. 
> But if i use a class that exists, that class is not used for conversion.
> 
> I tried to debug DefaultObjectTypeDeterminer: it's looking for an 
> @Element annotation. The class-specific properties file 
> (Element_textfield) will only be used if i don't use generics.
> 
> Or do i need to implement a Map-Converter instead of a String-Converter?
> 
> Thanks
> Andreas
>  
>  


Well, I did not use it for collection types. So you can try with a 
MapConverter. And I think those converters are used for saving only, not 
for rendering html. Try to annotate the getter, too.



Regards,
Christoph

This Email was scanned by Sophos Anti Virus

Reply via email to