Just found the xdoclet.sourceforge.net/struts.html file. That helps greatly!
I meant the xml to be generated, but the action form will certainly help. I agree it would be great to be able to generate it from a VO! or at least be able to tag it in a similar way to vo tagging so they are both generated together. But what it is there should certainly simplify things a bit; just need some VERY careful naming of HTML fields :) Colin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Matt Raible Sent: Thursday, 19 December 2002 3:18 PM To: [EMAIL PROTECTED] Subject: RE: [Xdoclet-user] struts dynaaction forms DynaActionForms are just ActionForms that are defined in struts-config.xml. There is no real "generation" of them, unless you want the XML generated for you. There is a @struts.form tag that can be used on EntityBeans to create ActionForms. Personally, I'd love it if I could use @struts.form tags on a VO rather than an EntityBean, but oh well. Matt > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf > Of Colin Canfield > Sent: Wednesday, December 18, 2002 9:02 PM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] struts dynaaction forms > > > Has there been any work done with using xdoclet to generate > dynaactionform entries, or even just actionforms. > > It seems actionforms are very close to value objects. It > should be possible to generate value objects to act as action > forms just by changing the parent; the problem is these are > generated from the bean rather than the jsp. With careful > naming it could all work, but it means the model (ejbs) need > to know a LOT about the controller part of the world. It > would be better if something very similar to the current > value objects could be generated from the jsp pages. > > Has anyone attempted this sort of thing, or is there > something already in place I have missed ? > > Thanks, Colin Canfield > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: Order your Holiday Geek > Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control > Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying > Saucers, WebCams, Smart Putty. > 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 > ------------------------------------------------------- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. 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 ------------------------------------------------------- This SF.NET email is sponsored by: Order your Holiday Geek Presents Now! Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap, MP3 Players, XBox Games, Flying Saucers, WebCams, Smart Putty. 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
