wt., 2 kwi 2019 o 04:46 Affan Osman <affan...@gmail.com> napisał(a):
>
> I am using version 2.5.17. I am not using any custom text provider.
>
> I tried the same example as in the unit test but still only first parameter 
> gets populated. The second and third show as [1] and [2].

Could you share your struts.xml? This is rather something with your
config, I have tested the same in my app and everything looks good:

System.out.println(getText("test.key", new String[] { "A", "B", "C" }));

test.key={0} is {1} and {2}

"A is B and C"


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to