struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Tedone" <mted...@jemos.org>
Subject Re: Validator and Tiles...Problem Solved
Date Sun, 08 Jun 2003 09:39:44 GMT
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" <dgraham1980@hotmail.com>
To: <struts-user@jakarta.apache.org>
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" <mtedone@jemos.org>
> >Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> >To: "Struts-user-list" <struts-user@jakarta.apache.org>
> >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: struts-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> ---------------------------------------------------------------------
> 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