Naturally, 5 minutes after posting I find the answers myself.

1. Include struts.jar on the xdoclet classpath.
2. It's @struts.form, not @struts.action-form (although that doesn't explain
the error message).

Excelsior! ;-)

Edward


On 25/9/03 7:49 pm, "Edward Kenworthy" <[EMAIL PROTECTED]> wrote:

> 
> I'm having a problem with generating for Struts.
> 
> If I tag my form class as:
> 
> * @struts.form name="requirement.Create"
> 
> (which is what my xdoclet books says it should be) I get nothing.
> 
> However if I tag it as:
> 
> * @struts.action-form name="requirement.Create"
> 
> (which is what I think it should be but there's nothing in the xdoclet docs)
> then I get:
> 
> Mandatory parameter 'name' missing for struts.form tag in
> info.kenworthy.reqxml.web.forms.CreateRequirementForm class.
> 
> Huh?
> 
> Anyone have any ideas ?
> 
> TIA
> 
> Edward
> 
> 
> 
> -------------------------------------------------------
> 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