Have you had a look at XForms? Nothing to do with struts, but can handle repeating groups, and I beleive the form data is POSTed in XML, so theres little need for ActionForms. You might be able to auto-generate an XForm for an abritrary schema using XSLT (but I think I'm pushing it here). There is a partial implementation of XForms available at www.mozquito.com.
- Paul ----- Original Message ----- From: "Stephen Hood" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 23, 2001 5:14 AM Subject: Auto-generating ActionForms > My last message didn't get any hits, so I'll try again with a low-verbosity > filter. :) > > 1. Has anyone had any success using JAXB, Castor, or any other XML data > binding technology to auto-generate their Struts ActionForm beans from DTDs > or XML Schemas (not from XML instance data or JSPs, like CodeMaker, etc. > does) ? > > 2. Has anyone had any experience dealing with complex ActionForms, such as > those derived from a XML Schema? It seems like the Struts taglibs are more > about handling relatively flat documents; can anyone suggest other > approaches for doing things like generating and handling forms with optional > repeating groups, etc.? > > I can elaborate if anyone is interested in further discussion... > > many thanks, > --Steve > > >