Skip to content

No way to register Formatter instances by field on DataBinder [SPR-6069] #10737

Closed
@spring-projects-issues

Description

@spring-projects-issues

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

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions