You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2006/07/11 23:53:16 UTC
[jira] Updated: (STR-1267) [taglib] key property for
html:optionsCollection to localise options (plus "locale" and "bundle"
attributes as well)
[ http://issues.apache.org/struts/browse/STR-1267?page=all ]
Ted Husted updated STR-1267:
----------------------------
Bugzilla Id: (was: 17600)
Fix Version: TBD
(was: 1.2.1)
> [taglib] key property for html:optionsCollection to localise options (plus "locale" and "bundle" attributes as well)
> --------------------------------------------------------------------------------------------------------------------
>
> Key: STR-1267
> URL: http://issues.apache.org/struts/browse/STR-1267
> Project: Struts 1
> Type: Improvement
> Components: Taglibs
> Versions: Unknown
> Environment: Operating System: All
> Platform: All
> Reporter: Ted J Schrader
> Assignee: Ted Husted
> Priority: Minor
> Fix For: TBD
>
> In reviewing Chapter 13 - Localizing Content - of "Struts In Action", Ted
> Husted describes a way to localise select box labels with the use of
> <html:options> by using org.apache.scaffold.text.MessageUtils in the Action.
> Suppose that the Action can construct a Collection of LabelValueBeans such that
> the "value" is the standard value, but the "label" property contains a message
> key. Prima facie, html:optionsCollection would be awesome if we could
> substitute the "label" attribute for a "key" attribute. This way, we could let
> the tag handle the details instead of having the Action look up the Locale to
> look up the message bundle to look up the messages for our select box.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira