struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maxx <maxx...@gmail.com>
Subject Re: [S2] message properties
Date Fri, 21 Dec 2007 11:19:42 GMT
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message