My first instinct is to ask why you changed the validation_rules.xml file at all.  You 
shouldn't have had
to change that file, except to add some functionality.  I would suggest going back to 
the original validation-rules.xml file and seeing if that helps.


> -----Original Message-----
> From: Kote, Nijaguna Sangankal [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 29, 2004 2:21 AM
> To: [EMAIL PROTECTED]
> Subject: Javascript error
> 
> 
> Hi,
> 
>       I am a new user for this group,.
>       I am using struts1.1 for my project, Am having some trouble with
> struts1.1 validator framework.
>       I have changed my validation.xml and validation-rules.xml to
> reflect my formbean  and its properties.
>       Struts also generates javascript in JSP, but once I click on
> submit button " javascript error is thrown.
> 
>       This is the error : 'required is undefined'
> 
>       this in validateRequired method in validation_rules.xml file.
> 
>       Am I doing something wrong here... Please help.
> 
>       Thanks
>       Guna
> 
> 

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

Reply via email to