I have been searching for a solution to my problem but
cannot find any concrete answer.

I have added struts form tags to my EJBs as shown
below:

/**
 * @struts.form 
 * extends="org.apache.struts.validator.ValidatorForm"
 *              name="Default"
 */
public abstract class CategoryEJB implements
EntityBean

and at each get/set:

    /**
     * @struts.form-field form-name="Default"
     */
    public abstract String getCategoryName(  );

    /**
     * @struts.form-field form-name="Default"
     * @struts.validator type="required"
     */
    public abstract void setCategoryName( String
categoryName );

When ejbdoclet and webdoclet are run (with
strutsform,strutsconfigxml,and strutsvalidationxml
tasks) my form is generated but without the tags being
copied accross to it. It is also in the forms section
of the struts-config file, but it does not appear in
validations.xml, which I assume is because the tags
are not copied to the generated form. Is there a
solution to this or am I simply missing something
obvious?

Thanks
Daniel

________________________________________________________________________
BT Yahoo! Broadband - Save �80 when you order online today. Hurry! Offer ends 21st 
December 2003. The way the internet was meant to be. 
http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to