Nice try... I found that too. There's no example of what I need to do to use the #stext tag and be able to pass a parameter, like I can with the jsp tags:
<s:text name="foo"> <s:param>bar</s:param> </s:text> it does make the note about there beign a direct mapping between jsp tags and velocity tags, but these don't match up exactly in reality. Thanks, James On Wed, Dec 17, 2008 at 12:07 PM, Nuwan Chandrasoma <[email protected]> wrote: > http://struts.apache.org/2.x/docs/velocity-tags.html > > James Carr wrote: >> >> No one knows? Any ideas where I could find their definitions? The >> source I downloaded only seems to contain velocity macros for form >> tags, not i18n. >> >> Thanks, >> James >> >> On Tue, Dec 16, 2008 at 3:44 PM, James Carr <[email protected]> >> wrote: >> >>> >>> Is there a complete listing of the struts 2 tags in velocity? >>> Specifically, I want to use the #stext tag with parameters (for a >>> parameterized i18n property) but unfortunately cannot find any example >>> at all anywhere. >>> >>> I tried this: >>> >>> #stext("name=foo.bar.baz") >>> #sparam(1123) >>> #end >>> >>> but no luck. I am clueless on what to do next! >>> >>> Thanks, >>> James >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

