Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
No way to register Formatter instances by field on DataBinder [SPR-6069] #10737
On DataBinder, I see you can call getFormatterRegistry().add(...). However, there is no specific binder.registerFormatter(String, Formatter<?>) callback that allows you to register a Formatter for a specific field, as an alternative to binder.registerCustomEditor(Class, String, PropertyEditor).
Affects: 3.0 M4
Referenced from: commits 02da2e8
9 votes, 10 watchers
Keith Donald commented
i get what you're after.
Burkhard Graves commented
Ah, ok, now I understand why #10839 was closed (by the way, I found http://static.springsource.org/spring/previews/ui-format.html#ui-format-registering-field-specific-Formatters - should be better removed by the spring team, I think ;-)).
But I still don't understand why #10684 was closed...
Juergen Hoeller commented