I've downaloded it and it works. The dyna form gets written in the struts-config.xml file.
This is what I've defined in the VO class at the class level: * @struts.dynaform * name="aDynaForm" * type="org.apache.struts.action.DynaActionForm" This is what I've defined in the VO class at the method level: /** * @return Returns the password. * @struts.dynaform-field */ public String getPassword() { return password; } This is what it has been written to the struts-config.xml <form-bean name="aDynaForm" type="org.apache.struts.action.DynaActionForm" > <form-property name="password" type="java.lang.String" /> </form-bean> However, I've got a question. I've got a directory structure like the following: root |-> common |-> war |-> etc. I've got a VO under the common folder, which I'd like to contain the dyna action form declaration (where else could I put it?). When I built the project (which has got as war pregoal webdoclet, with struts creation) the dyna form didn't get created. When I 'copied' the source under the war folder, it created the dyna form. How could I tell to the build project to look under the commons folder when executing webdoclet? This is the property that webdoclet looks at to retrieve the sources: maven.xdoclet.webdoclet.fileset.0.include=**/*.java I run the build process (multiproject:install) from the root ----- Original Message ----- From: "David Durham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 09, 2004 4:52 PM Subject: Re: [Xdoclet-user] Using XDoclet to create Struts dynamic action forms > Marco (which one, I do not know), > > Here's something posted on Struts user. So far as I know, the readme is > the only documentation, but I have it working if you need assistance. > > > > This release adds validation support to the DynaForms generated by XDoclet. > Using the "@struts.validator" tags, you can create the validation.xml for > dynamic action forms in the same manner used by the struts.form XDoclet feature. > > Please note that this is a SNAPSHOT release, created from a fairly recent > XDoclet CVS snapshot. (I'm not an XDoclet committer, and sf.net has been having > problems with anonymous CVS lately.) I would like additional people to test > this version. It works fine for me, but YMMV. If I can get a few people to > confirm that it works for them, I'll submit it as a patch to the forthcoming > XDoclet 1.2.2 release. > > In addition to the validation support, this patch also supports Struts 1.2.1 and > 1.1.3 version of the validator. > > If I got anything wrong or missed anything, please let me know. > > Downloads > --------- > http://www.systemmobile.com/code/xdoclet-apache-module-1.2.2-SNAPSHOT.jar > > The full text of the README may be found here at: > http://www.systemmobile.com/code/xdoclet-dynaform-README.txt > > An example may be found at: > http://www.systemmobile.com/code/Person.java > > -- Nick Heudecker System Mobile, Inc. Email: [EMAIL PROTECTED] Web: > http://www.systemmobile.com > --------------------------------------------------------------------- To > unsubscribe, e-mail: [EMAIL PROTECTED] For additional > commands, e-mail: [EMAIL PROTECTED] > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user