Skip to content

Custom DataBinder Hook [SPR-6534] #11200

@spring-projects-issues

Description

@spring-projects-issues

Pavel Müller opened SPR-6534 and commented

I'm migrating our project to Spring 3.0. Most of the issues is resolved but one of them not.

We used to create our own custom DataBinder in a AnnotationMethodHandlerAdapter subclass. We used to override the createBinder() method and created our own DataBinder implementation there.

How to achieve the same in Spring 3.0. The createBinder() method disappeared.

I think this issue hurts backwards compatibility too. Our project has a lot of following methods:
@InitBinder
public void initBinder(MyDataBinder binder) {
...define custom editors here.
}

We use custom data binder to specify empty values for bound fields as well as allowed fields and other things.


Affects: 3.0 RC1, 3.0 RC2, 3.0 RC3

Reference URL: http://forum.springsource.org/showthread.php?t=81209

Issue Links:

Referenced from: commits 1e1964a

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