The <strutsform /> task produces struts form objects from entity beans. If you have implemented your own ActionForm class, then the <strutsconfigxml /> task will include those forms in the struts-config.xml if you have the following tag:
/** * @struts:form name="edittemplatebodyform" */ public class TemplateBodyForm extends ActionForm hope that helps dim ----- Original Message ----- From: "Westlin Peter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 6:21 PM Subject: [Xdoclet-user] Struts-forms without eneiey beans > I have implemented my own Struts form beans and I want xdoclet to build my struts-config.xmnl for me and insert the form beans in the <form-beans> tag. > From the docs for strutsform<strutsform />: > "The <strutsform /> subtask is a subtask of the <ejbdoclet /> task. It processes all entity beans and generates struts form beans.". > If I read this correctly then <strutsform> can't be used with "regular java classes". If it is so, how can I have xdoclet generate struts-config.xml for me? > I know I can put a struts-forms.xml in my merge-dir but I'm a lazy programmer who wants as much as possible to be generated for me :-) > I have tried form@struts:form and form@struts:form-field but they are just being ignored when used i regular java classes. > > Regards Peter > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
