You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/03/01 06:51:35 UTC
DO NOT REPLY [Bug 17559] New: -
key attribute for tiles (put & item)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17559>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17559
key attribute for tiles (put & item)
Summary: key attribute for tiles (put & item)
Product: Struts
Version: 1.1 RC1
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: Tiles framework
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: dan@mojavelinux.com
It would be convenient to implement proper i18n in tiles if the put & item tags
had a "key" attribute. This way, one could specify a bundle key instead of a
value to be used for a tile attribute. And example would be as foolows:
<definition name="master" page="/layouts/master.jsp">
<put name="title" key="webapp.title"/>
</definition>
This way, when the attribute "title" is resolved, it does so by accessing the
key in the message resources bundle. This could also be convient in the
SimpleMenuItem for an item tag
<item key="link.home" link="/home.jsp"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org