Skip to content

<mvc:annotation-driven> should allow overriding all WebBindingInitializer properties [SPR-6506] #11172

@spring-projects-issues

Description

@spring-projects-issues

Shai Yallin opened SPR-6506 and commented

Currently, one may only override the validator and conversionService properties of the WebBindingInitializer using the mvc:annotation-driven tag; more complicated use cases (such as mine, attempting to define an alternate MessageCodesResolver in order to support custom error code prefixes) require the user to drop usage of this tag altogether. I strongly suggest adding all properties of the WebBindingInitializer as mvc:annotation-driven properties.

Thanks


Affects: 3.0 RC3

Referenced from: commits f26b499

1 votes, 2 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