Rod, I forgot to post that, But I already extend the Validator form (not directly though) I extend a BaseForm which extends ValidatorForm. Any other ideas?
Thanks On Mon, 14 Mar 2005 06:24:03 -0600, Rod Coffin <[EMAIL PROTECTED]> wrote: > Vinicius, > > In addition to marking the form's methods with the @struts.validator tag your > form also needs to extend the ValidatorForm class and to be marked with the > @struts.form tag. Your class declaration should look as follows: > > /** > > * @struts.form name="myForm" > > */ > > public class MyForm extends ValidatorForm > > { > > ... > > } > > Does this help? > > Regards, > > Rod > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of Vinicius Carvalho > Sent: Mon 3/14/2005 5:28 AM > To: xdoclet > Cc: > Subject: [Xdoclet-user] Question on <strutsvalidation> task > > Hello there! I've just started to use xdoclet to generate my struts > files. So far it was working great for actions and form beans. Problem > is it is not generating my validation.xml file (well it does generate > an empty one ...) Here's my configuration: > > <strutsvalidationxml destDir="web/WEB-INF" mergeDir="web/WEB-INF" > > > and here's one of my form's methods > /** > * @return Returns the abateSaldoFinanceiro. > * @struts.validator > * type="required" > * > */ > > Although this form is included on the struts-config.xml no validation > is included on the validation.xml > > any ideas?? > > Thanks all > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real > users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > xdoclet-user mailing list > xdoclet-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user