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
]
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
- 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
: 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
: 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
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
:-
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
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
8 matches
Mail list logo