Hi Jitendar,

Thanks for your help.

I am using the validator framework now and I see that when I click the
"submit" button, it does the validation and comes back with the error
message on top of the page but does not pop-up a messagebox. I would
want to prompt for a message box if, say a particular mandatory field is
missed.

- Now, I am using <html:javascript> also after the <title> tag.
- edited validation.xml to have the field names.
- included the validator plugin in my struts-config.xml
- included errors.required in my application properties file.
- included onsubmit function in my html:form to point to
validate<myform>(this)

Is there something else that I am missing ?

Thanks,
Divya.

-----Original Message-----
From: Jitender K Chukkavenkata [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 15, 2004 9:51 AM
To: Struts Users Mailing List
Subject: Re: Validation in struts


U can use struts validations framework as well....   go thru struts 
validation framework..
Jitender Kumar C.V.
IBM Global Services India (Pvt.) Ltd., 
Embassy Golf Links Business Park, Block C, 
Bangalore - 560 071. 
Phone : + 91 (80) 51056320
Mobile:  + 91 9886219429
Location : EGC-3*-058.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to