-
Notifications
You must be signed in to change notification settings - Fork 38.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to register Formatter instances by field on DataBinder [SPR-6069] #10737
Comments
Oliver Drotbohm commented This one seems to be a crucial thing for us to migrate to the new infrastructure as we thend to use domain objects in the controllers as well and do not want them to be polluted with UI specific annotations. |
Keith Donald commented i get what you're after. |
Donnchadh O Donnabhain commented Any further thoughts on this and #12429? |
Burkhard Graves commented Yes, I wonder too. Moreover, this seems to be related to #10684 and #10839 - and both tasks are marked as 'solved'?! I don't get it... |
Donnchadh O Donnabhain commented I think #10839 was fixed by removing the "Registering field-specific Formatters" section. |
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 I'm introducing Juergen |
Keith Donald opened SPR-6069 and commented
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
Issue Links:
Referenced from: commits 02da2e8
9 votes, 10 watchers
The text was updated successfully, but these errors were encountered: