struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Cheng" <mailing-l...@chrisshare.net>
Subject Adding bundle Attr to optionsCollection
Date Fri, 20 Sep 2002 01:05:13 GMT
Is it possible to add a bundle attribute to optionsCollection so that if
bundle is specified, the label attribute is used to retreive the
corresponding bundle message from resource file? For example,

<optionsCollection bundle="MyMessage" name="mybean" value="myvalue"
label="messageKey"/>

the message key returns a key in MyMessage.properties. Similar method is
already used in <bean:message>.

I already modified my source to have this feature. It would be nice if I can
contribute it to Struts.


--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message