What is your classpath for <webdoclet>?  Do you include
commons-validator.jar?  You must include ValidatorForm in the classpath,
otherwise XDoclet cannot see that it extends from ActionForm.

I am using ValidatorForm and <strutsconfigxml/> extensively to generate
form bean definitions (with XDoclet 1.2beta1) and its working fine.

        Erik


Chris Conrad wrote:
 > It seems that the strutsconfigxml subtask will only generate form-bean
 > entries for classes that subclass ActionForm directly.  When subclassing
 > a descendant of ActionForm (in my case it is ValidatorForm) no form-bean
 > entry is generated.  Is this a genuine bug or a am I missing an option
 > somewhere?
 >
 >>From the form itself:
 >  * @struts.form
 >  *      name="createMember"
 >  */
 > public final class MemberForm extends ValidatorForm {
 >
 > The webdoclet task:
 > <strutsconfigxml version="1.1"
 >      destDir="${build.generate.dir}/WEB-INF"/>
 >
 > --Chris
 >
 >
 >
 >
 > -------------------------------------------------------
 > This sf.net email is sponsored by:ThinkGeek
 > Welcome to geek heaven.
 > http://thinkgeek.com/sf
 > _______________________________________________
 > Xdoclet-user mailing list
 > [EMAIL PROTECTED]
 > https://lists.sourceforge.net/lists/listinfo/xdoclet-user
 >
 >




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to