You just forgotten to put what form you want to generate the field for. So form-field has to have an attribute form-name="Person". It is important because you can generate many forms off of one class. So you have to let XDoclet know which field to generate for which form.
HTH, Alex. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of james > Folsom > Sent: Friday, August 15, 2003 11:16 AM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Struts ActionForms and XDoclet > > > Hi. Normally I try not to bother people on this list, but I have been > trying to get xdoclet to generate struts action forms for a CMP entity > bean and cannot figure out what I am doing wrong. > > I have the <strutsform /> task as a sub-element of the ejbcolet task. > I have the @struts.form name="Person" as a class level tag. > I have both my setters and getters tagged with @struts.form-field > > XDoclet creates my ActionForm class, but it only puts a default > constructor in the class. There are no methods or instance fields. What > am I missing? > > Thanks > > James > > > > _____________________________________________________________ > Are you a Techie? Get Your Free Tech Email Address Now! Visit http://www.TechEmail.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
