Hey Lukasz, thanks for your reply.
Actually, I don't want to use struts tag replacement mechanism, but one
of my own.
I already solved my problem as you probably read by now.
Cheers and thanks for your help.
On 04/02/19 10:10, Lukasz Lenart wrote:
Using ${} or %{} is a proper way to inject
Hey Yasser,
Thanks for your reply. I tought I tried every combination you suggested,
but it seems that I missed the *$'{placeholder}'* variant.
This works for me. Thanks for your help!
On 02/02/19 13:25, Yasser Zamani-2 [via Struts] wrote:
From: Micael Carreira
Sent: Friday, February 1,
Using ${} or %{} is a proper way to inject values into a message
https://struts.apache.org/getting-started/message-resource-files.html#message-resource-property-files
In your case a "getPlaceholder()" will be used to fetch the value from
the current action.
Regards
--
Ćukasz
+ 48 606 323 122
>From: Micael Carreira
>Sent: Friday, February 1, 2019 6:56 PM
>To: user@struts.apache.org
>Subject: Escaping dollar sign and curly brackets
>
>Hey,
>
>In my action I'm using getText(myKey) to get a localized string. This string
>has
>some placeholders of mine, in ${placeholder} format. Consider
4 matches
Mail list logo