I've spent the night scouring google, and have yet to come up with the right incarnation of search words, or my examination of the struts-form.xdt is correct.
In my EJB, I declare: * @struts.form * name="Full" * include-all="true" * extends="org.apache.struts.validator.ValidatorForm" and, like a good trooper, XDoclet generates my Form as requested. Later in EJB code, for a particular field, I also declare: * * @struts.validator * type="required" * msgkey="reference.source.required" * * @struts.validator-args * arg0resource="reference.Full.source" I tried it on both the getXXX and setXXX. My generated form is continually generated w/o this inherited data. If i add the @struts tags manually to the generated Form code and then run webdoclet, it does indeed create a proper formset reference in validation.xml. I tore open the struts module, and can find no reference in the struts-form.xdt where this information is being carried forward... even checked the most recent cvs version on the web. So, it seems neither the strutsform subtask of ejbdoclet, nor the strutsvalidationxml subtask of webdoclet, will ever generate a validation.xml containing the formset from my EJB. Can someone verify this and provide a reason, or explain where I've gone wrong? If I were to modify the template to also paste out the XDtMethod:methodComments in front of the generated setXXX (in the <XDtStrutsForm:forAllFormFields> template area), what would I stand to break? I would think it would carry all comments forward; I'm not sure, as the template language and hierarchy still confuses me. Thanks for any help! ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
