<c:set var="minQ"><bean:message key="prompt.minQuantity" /></c:set> <c:set var="maxQ"><bean:message key="prompt.maxQuantity" /></c:set> <bean:message key="error.comparequantity" arg0="minQ" arg1="less" arg2="maxQ"/>
Joe
At 3:17 PM +0100 5/16/05, Marco Mistroni wrote:
Hello all, I have a question regarding bean:message
I have a page where I need to display a message with some Dynamc parameters, and I would be able to 'internationalize' the whole message
For example, let's say that my message is
Error.comparequantity={0} must be {1} than {2}
I would like to use the tag in my page like this
<bean:message key="error.comparequantity"
arg0="prompt.minQuantity"
arg1="less"
arg2="prompt.maxQuantity"/>');
However, it looks like args0 & args2 are not retrieved from my ApplicationREsources.properties file
Any idea on how to achieve that?
Thanx in advance and regars marco
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]