e {1} for Sequence {2}.
>>
>> addActionError(getText("field.amount", new String[] { "Amount", "$0.00",
>> "987654"}));
>>
>> Jose Luis
>> Sent via BlackBerry from T-Mobile
>>
>> -Original Message-----
>> Fr
"987654"}));
>
> Jose Luis
> Sent via BlackBerry from T-Mobile
>
> -Original Message-
> From: kamlesh sharma
> Date: Mon, 24 Jan 2011 20:33:20
> To:
> Reply-To: "Struts Users Mailing List"
> Subject: Re: Struts 2 - Parameterized error messages
-Original Message-
From: kamlesh sharma
Date: Mon, 24 Jan 2011 20:33:20
To:
Reply-To: "Struts Users Mailing List"
Subject: Re: Struts 2 - Parameterized error messages
Hi,
i am facing same problem with other message. i.e
field.amount= {0} can not be ${1} for Sequence {2
ield.required", "First Name"));
>>
>> But not working in Struts 2 using getText():
>> //String getText(String key, List args);
>> //String getText(String key, String[] args);
>> addActionError(getText("field.name", new String[] { &quo
greatly appreciated.
>>
>> Thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/Struts-2---Parameterized-error-messages-tp23374965p23374965.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>>
g key, List args);
> //String getText(String key, String[] args);
> addActionError(getText("field.name", new String[] { "First Name"}));
>
> Any help on how to achieve this in Struts 2 would be greatly appreciated.
>
> Thanks.
> --
> View this message in context:
&
ld.name", new String[] { "First Name"}));
Any help on how to achieve this in Struts 2 would be greatly appreciated.
Thanks.
--
View this message in context:
http://www.nabble.com/Struts-2---Parameterized-error-messages-tp23374965p23374965.html
Sent from the Struts - User mailing list ar
7 matches
Mail list logo