Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

form:options tag does not support i18n [SPR-2659] #7348

Closed
spring-issuemaster opened this issue Sep 29, 2006 · 3 comments

Comments

@spring-issuemaster
Copy link
Collaborator

commented Sep 29, 2006

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:

  • #6935 Allow body content of form:option to specify label ("depends on")
  • #8047 Provide comprehensive I18N support for the Spring form tag library. ("is depended on by")

28 votes, 20 watchers

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Sep 29, 2006

Rick Evans commented

I18N support for the entire form tag library is going to be addressed in 2.1 RC1.

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Feb 20, 2012

Didier Loiseau commented

Also don't forget the same for <form:radioButtons>, but I guess this kind of code would be shared…

Maybe a default i18n key could be generated for enums, extending #8072.

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

commented Jan 12, 2019

Bulk closing outdated, unresolved issues. Please, reopen if still relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.