Re: Struts 2 - Parameterized error messages

2011-01-26 Thread kamlesh sharma
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

Re: Struts 2 - Parameterized error messages

2011-01-24 Thread Chris Pratt
"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

Re: Struts 2 - Parameterized error messages

2011-01-24 Thread jlmagc
-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

Re: Struts 2 - Parameterized error messages

2011-01-24 Thread kamlesh sharma
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

Re: Struts 2 - Parameterized error messages

2009-05-05 Thread cm132005
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. >> >> >>

Re: Struts 2 - Parameterized error messages

2009-05-04 Thread Chris Pratt
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: &

Struts 2 - Parameterized error messages

2009-05-04 Thread cm132005
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