On Wed, Jun 4, 2008 at 8:26 AM, Rubens <[EMAIL PROTECTED]> wrote: > > Does Struts 2 resource bundle support refering to previously defined > parameter keys in the resources file? > > For example, something like this: > > software.version=1.0.1 > software.text=Software version is ${software.version} > > <s:text name="software.text" /> prints > Software version is 1.0.1 > > I know I can use the {0}, {1}, ...{n} tokens and pass use > <s:param>...</s:param> with <s:text>...</s:text>. However, I have cases > where this is not possible to do.
AFAIK, it's not working the way you excepted it to be, because this resource bundle system is provided by the Java Properties class. see: http://java.sun.com/j2se/1.5.0/docs/api/java/util/Properties.html Maxx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]