Radiobutton/Checkboxes tag doesn't utilize ConversionService for label rendering [SPR-7174] #11833
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
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
The text was updated successfully, but these errors were encountered: