Skip to content
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

"Registering field-specific Formatters" section is not in sync with the codebase [SPR-6171] #10839

Closed
spring-projects-issues opened this issue Oct 1, 2009 · 3 comments
Labels
type: bug A general bug type: documentation A documentation task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Oct 1, 2009

Sam Brannen opened SPR-6171 and commented

WebDataBinder does not have a registerFormatter(String, Formatter) method.

DataBinder does have a getFormatterRegistry() method, but FormatterRegistry does not appear to provide functionality for "registering field-specific formatters."


Affects: 3.0 RC1

Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

What's the best practice (and options) for Spring 3.0+ for registering custom formatters per-controller vs. per-DispatcherServlet vs. per-web app?

Similarly what's the story regarding custom PropertyEditors vs. Formatters, when to use which, precedence, and mixing and matching both techniques within the same web app?

@spring-projects-issues
Copy link
Collaborator Author

Burkhard Graves commented

Albeit this task is nearly three years old: Are there any news concerning the registration of "field-specific" formatters?

--dhukas

@spring-projects-issues
Copy link
Collaborator Author

Oliver Drotbohm commented

As the ticket says, released in Spring 3.0 RC2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug type: documentation A documentation task
Projects
None yet
Development

No branches or pull requests

1 participant