1. Complex in the sense my own custom validation for multiple emails.
2. So do you mean i can go with Option 2?
Anjib
On 12/28/2010 2:38 PM, Paul Benedict wrote:
On Tue, Dec 28, 2010 at 12:43 PM, Anjib Mulepati<anji...@hotmail.com>wrote:
Ok to make my self clear I have three field to check name,email and
message.
I want name and message to be required but email required complex
validation that is not provided with struts.
What kind of "complex" validation?
As 'required' is provided in Struts I can set validation rule for name and
message simply in xml file.
And i want to write validation rule for email in validate() method.
Is that possible?
Yes. My apologies for misunderstanding. If you override validate() on your
Form bean, you can do whatever else you want to do.
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org