DynaActionForm's suck!
If someone can show me why they are of value I'd love to hear it, but given what I can do with XDoclet and ActionForm beans to generate struts-config form bean definitions *and* validation.xml you'd have to convince me that your approach is not going to make me have to hand-code validation.xml at the very least.
Erik
Matt Raible wrote:
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: 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
