You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jo...@shell.ca on 2003/11/21 17:07:35 UTC

Specify "bundle" Dynamically in

Good morning,

I am using tiles extensively in my application and have been quite
successful in creating very basic, highly reusable tiles. I was hoping
to render text from multiple resource bundles by using the
<bean:message> keyword, however, I cannot find a way of dynamically
specifying the "bundle" attribute in this tag.

For example, I have a "troubleshooting" page and a
"troubleshooting.properties" resource bundle. I pass in the name of the
bundle from the tiles-defs.xml file, but how can I know pass this into
the "bundle" attribute of a <bean:message> tag?

Thank you very much.

John Pitchko
Programmer/Analyst
Downstream Marketing Systems - e-Business Group
Shell Canada Limited
(403)-691-2572
john.pitchko@shell.ca