Hello
I just have this
Code:
public class ApplicationFormatterService extends FormattingConversionServiceFactoryBean{
....
@Override
protected void installFormatters(FormatterRegistry registry) {
super.installFormatters(registry);
registry.addFormatterForFieldType(Local.class, this.localFormatter);
registry.addFormatterForFieldType(Curso.class, this.cursoFormatter);
registry.addFormatterForFieldType(Turno.class, this.turnoFormatter);
registry.addFormatterForFieldType(TipoTurno.class, this.tipoTurnoFormatter);
}
I am not using addFormatterForFieldAnnotation
In this code when i call the formatter
it always go to the second one NOteFormatter. I want both to be called. Please help me how to do that?
How you got such conclusion?