Skip to content

Radiobutton/Checkboxes tag doesn't utilize ConversionService for label rendering [SPR-7174] #11833

Closed
@spring-projects-issues

Description

@spring-projects-issues

Johnny Zhou opened SPR-7174 and commented

In version 3.0.2, the AbstractMultiCheckedElementTag.java line 291:
tagWriter.appendValue(label.toString());

This line cannot take the advantage of spring conversion service. We should change to the following:
PropertyEditor editor = (value != null ? this.getBindStatus().findEditor(value.getClass()) : null);
String displayString = getDisplayString(label, editor);
tagWriter.appendValue(displayString);


Affects: 3.0.2

Attachments:

Referenced from: commits 48869a8, 8ccd74b

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