public String convertToString(Object value, Locale locale) {
Set<ConverterFactory> rconverters =
(Set<ConverterFactory>) Converters.getConverterFactories( target, String.class );
for ( ConverterFactory cf : rconverters ) {
try {
Converter converter = cf.createConverter(value.getClass(), String.class,null);
if ( converter == null ) {
continue;
}
String converted = converter.convert(value, String.class);
if ( converted != null ) {
return converted;
}
}
catch (Exception e) {