There is a bit of a problem though with the situation. So now I have my model classes that I am generating my forms from. I want to put @struts.form-field and my @struts.validator as comments in those files. So that when my forms are generated I do not have to manually Input the @struts.validator tags in those generated files.
Does it make sence? Or am I missing something here? Otherwise how can one generate form classes and and validation.xml without a manual process. >From the template that strutsform uses it does not even care if struts.validator is there or not. Any thoughts? Alex. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > [EMAIL PROTECTED] On Behalf Of Matt Raible > Sent: Thursday, August 07, 2003 1:08 PM > To: [EMAIL PROTECTED] > Subject: RE: [Xdoclet-user] Please help... > > Here's your answer - see Erik's comment: > > http://tinyurl.com/jbg5 > > --- Alex Shneyderman <[EMAIL PROTECTED]> wrote: > > One thing I noticed is that your ActionForm is not a ValidatorForm. > > This might be one thing to fix. > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:xdoclet-user- > > > [EMAIL PROTECTED] On Behalf Of James Carman > > > Sent: Thursday, August 07, 2003 10:16 AM > > > To: [EMAIL PROTECTED] > > > Subject: [Xdoclet-user] Please help... > > > > > > I CANNOT get the <strutsvalidationxml /> task to generate formset > > entries > > > for the following form... > > > > > > /** > > > * @struts:form name="createProjectForm" > > > */ > > > public class CreateProjectForm extends ActionForm > > > { > > > private String name; > > > > > > public String getName() > > > { > > > return name; > > > } > > > > > > /** > > > * @struts:validator type="required" > > > */ > > > public void setName( String name ) > > > { > > > this.name = name; > > > } > > > } > > > > > > Am I missing something? The form shows up in struts-config.xml. And, > > the > > > validation.xml file is being generated, but with absolutely NO > > formsets in > > > it. Please help me! > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click- > > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > > xdoclet-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > xdoclet-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
