Query in action messages

2006-11-15 Thread Hanmay Udgiri
Hi I am doing validation in my Action Form which is extending ValidatorActionForm. In validate method,I am checking for mandatory field and adding error. The error in ApplicationResources.properties is like this. error.required=The {0) field is required field. error.notInRange=The {0} field

Re: Query in action messages

2006-11-15 Thread Nuwan Chandrasoma
] To: user@struts.apache.org Sent: Wednesday, November 15, 2006 8:25 AM Subject: Query in action messages Hi I am doing validation in my Action Form which is extending ValidatorActionForm. In validate method,I am checking for mandatory field and adding error. The error in ApplicationResources.properties

Re: Query in action messages

2006-11-15 Thread Nuwan Chandrasoma
- Original Message - From: Hanmay Udgiri [EMAIL PROTECTED] To: user@struts.apache.org Sent: Wednesday, November 15, 2006 8:25 AM Subject: Query in action messages Hi I am doing validation in my Action Form which is extending ValidatorActionForm. In validate method,I am checking for mandatory

RE: Query in action messages

2006-11-15 Thread Mano Chinthaka Dasanayaka
: Wednesday, November 15, 2006 1:56 PM To: user@struts.apache.org Subject: Query in action messages Hi I am doing validation in my Action Form which is extending ValidatorActionForm. In validate method,I am checking for mandatory field and adding error. The error in ApplicationResources.properties

RE: Query in action messages

2006-11-15 Thread Anil Kumar T
: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 1:56 PM To: user@struts.apache.org Subject: Query in action messages Hi I am doing validation in my Action Form which is extending ValidatorActionForm. In validate method,I am checking for mandatory field and adding error

RE: Query in action messages

2006-11-15 Thread Anil Kumar T
I was wrong... ignore my earlier mail.. Thanks. Anil. -Original Message- From: Hanmay Udgiri [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 15, 2006 1:56 PM To: user@struts.apache.org Subject: Query in action messages Hi I am doing validation in my Action Form which is extending

Re: Query in action messages

2006-11-15 Thread Hanmay Udgiri
:- errors.add(Error_FIELD_KEY,new ActionMessage( error.required,getResources(request).getMessage(error.zipcode)); Regards, Nuwan - Original Message - From: Hanmay Udgiri [EMAIL PROTECTED] To: user@struts.apache.org Sent: Wednesday, November 15, 2006 8:25 AM Subject: Query in action messages

Query in Action messages

2006-11-14 Thread Hanmay Udgiri
Hi I am doing validation in my Action Form which is extending ValidatorActionForm. In validate method,I am checking for mandatory field and adding error. The error in ApplicationResources.properties is like this. error.required=The {0) field is required field. error.notInRange=The {0} field