SOLVED!

I post it here, maybe it helps somebody:

I did not add to the xdoclet task's classpath the struts libraries.

Sun shines again...

Umberto

Umberto Nicoletti wrote:
Hi all,
I am using Struts 1.1, xdoclet 1.2b3 and cannot get xdoclet to generate the from bean definition any more (it previously did).
I have tried everything!


Here's my code:

package xxx.struts.forms;

import org.apache.struts.validator.ValidatorForm;

/**
* @struts.form name="ulForm"
*
* User: umberto
* Date: 11-giu-2003
*/
public class UnitaLocaleForm extends ValidatorForm {
private String test;
/**
* @return
*/
public String getTest() {
return test;
}


    /**
     * @param string
     */
    public void setTest(String string) {
        test = string;
    }

}

my struts-config.xml is not filled with :

    <form-bean
      name="ulForm"
      type="xxx.struts.forms.UnitaLocaleForm"
    />

which in turn appears if I let the form extend ActionForm instead of ValidatorForm: but this worked on another project!

Please help me,
Umberto




------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps




-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to