Hello,

I'm wondering on how to parameter a message, when there is a "{number}" in
the .properties.

This is an example :
In the ApplicationResources.properties, there is a little sentence
"my.text=The {0} t-shirt(s) cost ${1}".

In the JSP, how could I change "{0}" and "{1}" for their real values?
<bean:message key="my.text"/>

I've seen it's possible to put <arg0 key="some.words"/> but I need to put
bean values, to obtain the sentence :
"The 4 t-shirts cost $20."

Thanks for your help.
Links/examples/explainations are welcomed.

--
Vincent
ps : is there any web site for asking questions in the struts-user list?
I use news.basebeans.com for reading, but can't write on the forum which is
based on the struts-user list.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to