Hi,
I'm at a little bit of a loss here. I am attempting to use the #stext() user directive provide by Struts 2 to output I18N messages. However, I need to pass in additional arguments. In tag libs, all I'd have to do is: <s:text name="sample"> <s:param>Param 1</s:param> </s:text> However, in Velocity, the stext component is inline, so, I can't nest the param directives. I thought that I could perhaps pass in the "values" property directly like: #stext('name=sample' 'values={"Param 1"}') But, after trying this (and other iterations), I stepped through the source and saw that it wasn't working because there is no setter for values, and the values property itself isn't publicly accessible. Has anybody found a way of pulling this off? I'm looking at possibly writing my own stext user directive to handle this, as this is a pretty common use case. Thanks, Dan Slack