struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From O_Parthasarathy Kesavaraj <Parthasarat...@PLANETASIA.COM>
Subject RE: Validator Problen
Date Wed, 11 Jun 2003 08:33:15 GMT
Hai hari 
I have done that also already.But object required javascript error is
coming.Any other suggestion..
Partha

> ----------
> From: 	Hariharan[SMTP:hariharan@medicomsoft.com]
> Reply To: 	Struts Users Mailing List
> Sent: 	Wednesday, June 11, 2003 10:37 AM
> To: 	'Struts Users Mailing List'
> Subject: 	RE: Validator Problen
> 
> Hello kesavaraj,
> 
> Check if u have added following line right after </html:form>
> in your jsp page
> 
> <html:javascript formName="<form-name>" dynamicJavascript="true"
> staticJavascript="true"/>
> 
> -Hari
> 
> -----Original Message-----
> From: O_Parthasarathy Kesavaraj [mailto:ParthasarathyK@PLANETASIA.COM]
> Sent: Wednesday, June 11, 2003 10:31 AM
> To: 'Struts Users Mailing List'
> Subject: Validator Problen
> 
> 
> 
> Hai
> I am new to struts.I have created one appplication similar to the one
> struts-example.ear. when javascript validation tags are added it show one
> script error -->object requiredand then the form submits. ActionForm
> validation works fine.I have called validation fn similar to that one in
> example.onsubmit = validateRegistrationForm(this).
> 1.I have created validation.xml
> 2.I have copied validator-rules.xml
> 3.I have added plugin for validator in config.
> Is there anything to be done in addition to the above steps.
> Regards
> Parthasarathy
> 
> > ----------
> > From: 	Rob Leland[SMTP:rleland@apache.org]
> > Reply To: 	Struts Users Mailing List
> > Sent: 	Wednesday, June 11, 2003 9:11 AM
> > To: 	Struts Users Mailing List
> > Subject: 	Re: Correct validator DTD
> >
> > Raible, Matt wrote:
> >
> > >Which is the correct DTD for the Validator:
> > >
> > ><!DOCTYPE form-validation PUBLIC
> > >          "-//Apache Software Foundation//DTD Commons Validator Rules
> > >Configuration 1.0//EN"
> > >          "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">
> > >
> >
> > If you are using Validator with struts 1.1 RC 1 or RC2  then it is
> >
> >           http://jakarta.apache.org/commons/dtds/validator_1_0_1.dtd
> >
> >
> > >
> > >OR 1.1?
> > >
> > ><!DOCTYPE form-validation PUBLIC
> > >    "-//Apache Software Foundation//DTD Struts Validation Configuration
> > >1.1//EN"
> > >    "http://jakarta.apache.org/struts/dtds/validation_1_1.dtd">
> > >
> >
> > This is used if you are using the Validator nightly build by itself or
> > have
> > rebuilt struts from its source code against the nightly validator.
> >
> > -Rob
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message