form:options tag does not support i18n [SPR-2659] #7348
Labels
has: votes-jira
Issues migrated from JIRA with more than 10 votes at the time of import
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: bulk-closed
An outdated, unresolved issue that's closed in bulk as part of a cleaning process
Vaibhav S. Puranik opened SPR-2659 and commented
Currently form:options tag does not support internationalization. There is no way to resolve lables using key. We can support internationalization by many ways. I am describing some ways people have mentioned on forums: (http://forum.springframework.org/showthread.php?t=28342)
<form:select path="selected" items="${command.available}" resolveLabels="true"/>
<form:select path="orderBy">
<form:options items="validOrderBy" var="value">
<spring:message code="orderBy.${value}"/>
</form:options>
</form:select>
Affects: 2.0 RC3
Issue Links:
28 votes, 20 watchers
The text was updated successfully, but these errors were encountered: