Erik, Please allow me to linger on this topic a little longer. I think writing ActionForm's manually isn't a lot of work, but maintaining it might be, for example, name change, deletion or addition of fields (Actually, I am not sure). But auto-generate from IDEA intrigues me. Do you know of any open source project that dose that? I know that there is a beanmaker project in sourceforge that takes xml and generate simple JavaBeans, but it won't do that job here. -- You know what, I am stuck. I mean, there has to be some maintenance right? -- Maybe writing ActionForm's the manual way is the only way?
Thanks for your time, Derek ----- Original Message ----- From: "Erik Hatcher" <[EMAIL PROTECTED]> To: "Derek Lin" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 1:08 PM Subject: Re: [Xdoclet-user] struts dynaaction forms > Derek Lin wrote: > > Oh I see. You write ActionForm's manually and generate things like > > validation.xml from these manually written ActionForm's. Am I understand > > you correctly? (I thought you were generating the ActionForm's from your > > earlier emails. Now I can see why you say DynaForm's are useless) > > > > Yes, that is correct. > > And it takes far less time to write an ActionForm than some might think. > Create a few private member variables, auto-generate (via IDEA) > getters/setters, and add an @struts.form name="..." and any > @struts.validator tags to field setters and its done. > > Erik > ------------------------------------------------------- This SF.NET email is sponsored by: Geek Gift Procrastinating? Get the perfect geek gift now! Before the Holidays pass you by. T H I N K G E E K . C O M http://www.thinkgeek.com/sf/ _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
