Skip to content

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

Closed

Description

@spring-projects-issues

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:

Activity

  1. spring-projects-issues commented on Nov 12, 2009

    @spring-projects-issues
    CollaboratorAuthor

    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?

  2. spring-projects-issues commented on Oct 18, 2012

    @spring-projects-issues
    CollaboratorAuthor

    Burkhard Graves commented

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

    --dhukas

  3. spring-projects-issues commented on Oct 18, 2012

    @spring-projects-issues
    CollaboratorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugtype: documentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions