--- Desbois Arnaud <[EMAIL PROTECTED]> wrote: > <s:set var="msg" value="%{getText('message.remove', item.name)}" /> > <s:set var="msg" value="%{getText('message.remove', {item.name})}" /> > <s:set var="msg" value="%{getText('message.remove', #{item.name})}" />
I would have thought the second example would have worked; I use nearly the same syntax with an iterator value and it works fine (although I'm using <s:property.../>). I just verified that if I have an action property "foo" that the following works. <s:set name="meh" value="%{getText('test.msg', {foo})}"/> <s:property value="#meh"/> > Also, how I can retrieve a message from the resources.properties from a > freemarker template (.ftl file)? You can always use an <s:property.../> tag where the value is the getText call. All the S2 tags can be used in a FreeMarker template, AFAIK. d. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]