But with the set tag, it doesn't work:

<s:set var="msg" value="%{getText('message.remove')}" >
        <s:param name="value" value="item.name" />
</s:set>


-----Message d'origine-----
De : Maxx [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 21 décembre 2007 12:20
À : Struts Users Mailing List
Objet : Re: [S2] message properties

In a JSP, it's quite easy, you just have to use a nested <s:param>
inside the tag refering to your message, e.g.

        <s:text name="message.remove">
                <s:param name="value" value="item.name" />
        </s:text>
(of course if item is available through your action via a getItem()
method - same for property "name" on your "item")

For the Freemarker thing, I unfortunately don't know.

---------------------------------------------------------------------
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]

Reply via email to