Re: Validator and Tiles...Problem Solved
We really need to figure out a better way of doing things for ValidatorForm and ValidatorActionForm. The differences between the classes are minor and they should probably be only one class. I'm glad you fixed your problem! David David, your email was illuminating. Actually I had a closer look at the code; the [silly!] problem was that I declared a DynaValidatorActionForm in the struts-config.xml file and used a DynaValidatorForm in my action. Now I declared both to be DynaValidatorForm and it works. Thanks, Marco - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 4:50 AM Subject: Re: Validator and Tiles > I use Tiles and Validator together with no problems. You should never use > Javascript as your sole form of validation, it's merely a convenience for > the client. Did you subclass ValidatorForm? I've forgotten to do that once > or twice and wondered why no validation was happening. > > David > > > >From: "Marco Tedone" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts-user-list" <[EMAIL PROTECTED]> > >Subject: Validator and Tiles > >Date: Sun, 8 Jun 2003 01:47:52 +0100 > > > >Hi, I've been through the mailing archive without success. I remember had > >being used the Validator succesfully in a past; then my web developer > >started to use javascript to perform the checks so we didn't put attention > >to Validator any more. Now I'm using tiles for my site and would like to > >use > >validator, as I am not a javascript expert. It seems to me that Validator > >and tiles have some difficulties working together; is that correct? > > > >It seems to me to have made all the setup correctly but when I submit the > >form, nothing happens. I've also read that someone else had the same > >problem > >with tiles + Validator working together. > > > >If this is not the case, could I proceede to post to the mailing list my > >code? > > > >Regards, > > > >Marco > > > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > _ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validator and Tiles...Problem Solved
David, your email was illuminating. Actually I had a closer look at the code; the [silly!] problem was that I declared a DynaValidatorActionForm in the struts-config.xml file and used a DynaValidatorForm in my action. Now I declared both to be DynaValidatorForm and it works. Thanks, Marco - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 4:50 AM Subject: Re: Validator and Tiles > I use Tiles and Validator together with no problems. You should never use > Javascript as your sole form of validation, it's merely a convenience for > the client. Did you subclass ValidatorForm? I've forgotten to do that once > or twice and wondered why no validation was happening. > > David > > > >From: "Marco Tedone" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts-user-list" <[EMAIL PROTECTED]> > >Subject: Validator and Tiles > >Date: Sun, 8 Jun 2003 01:47:52 +0100 > > > >Hi, I've been through the mailing archive without success. I remember had > >being used the Validator succesfully in a past; then my web developer > >started to use javascript to perform the checks so we didn't put attention > >to Validator any more. Now I'm using tiles for my site and would like to > >use > >validator, as I am not a javascript expert. It seems to me that Validator > >and tiles have some difficulties working together; is that correct? > > > >It seems to me to have made all the setup correctly but when I submit the > >form, nothing happens. I've also read that someone else had the same > >problem > >with tiles + Validator working together. > > > >If this is not the case, could I proceede to post to the mailing list my > >code? > > > >Regards, > > > >Marco > > > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > _ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validator and Tiles
No I hadn't. Where in the struts application shall I subclass ValidatorForm? I declared a DynaValidatorForm in the struts-config.xml file and then I declared my form in the validation.xml file. Shall I do something more? Thanks, Marco - Original Message - From: "David Graham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 4:50 AM Subject: Re: Validator and Tiles > I use Tiles and Validator together with no problems. You should never use > Javascript as your sole form of validation, it's merely a convenience for > the client. Did you subclass ValidatorForm? I've forgotten to do that once > or twice and wondered why no validation was happening. > > David > > > >From: "Marco Tedone" <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts-user-list" <[EMAIL PROTECTED]> > >Subject: Validator and Tiles > >Date: Sun, 8 Jun 2003 01:47:52 +0100 > > > >Hi, I've been through the mailing archive without success. I remember had > >being used the Validator succesfully in a past; then my web developer > >started to use javascript to perform the checks so we didn't put attention > >to Validator any more. Now I'm using tiles for my site and would like to > >use > >validator, as I am not a javascript expert. It seems to me that Validator > >and tiles have some difficulties working together; is that correct? > > > >It seems to me to have made all the setup correctly but when I submit the > >form, nothing happens. I've also read that someone else had the same > >problem > >with tiles + Validator working together. > > > >If this is not the case, could I proceede to post to the mailing list my > >code? > > > >Regards, > > > >Marco > > > > > > > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > _ > Add photos to your e-mail with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Validator and Tiles
I use Tiles and Validator together with no problems. You should never use Javascript as your sole form of validation, it's merely a convenience for the client. Did you subclass ValidatorForm? I've forgotten to do that once or twice and wondered why no validation was happening. David From: "Marco Tedone" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts-user-list" <[EMAIL PROTECTED]> Subject: Validator and Tiles Date: Sun, 8 Jun 2003 01:47:52 +0100 Hi, I've been through the mailing archive without success. I remember had being used the Validator succesfully in a past; then my web developer started to use javascript to perform the checks so we didn't put attention to Validator any more. Now I'm using tiles for my site and would like to use validator, as I am not a javascript expert. It seems to me that Validator and tiles have some difficulties working together; is that correct? It seems to me to have made all the setup correctly but when I submit the form, nothing happens. I've also read that someone else had the same problem with tiles + Validator working together. If this is not the case, could I proceede to post to the mailing list my code? Regards, Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Validator and Tiles
Hi, I've been through the mailing archive without success. I remember had being used the Validator succesfully in a past; then my web developer started to use javascript to perform the checks so we didn't put attention to Validator any more. Now I'm using tiles for my site and would like to use validator, as I am not a javascript expert. It seems to me that Validator and tiles have some difficulties working together; is that correct? It seems to me to have made all the setup correctly but when I submit the form, nothing happens. I've also read that someone else had the same problem with tiles + Validator working together. If this is not the case, could I proceede to post to the mailing list my code? Regards, Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]