You need to add an @struts.form include-all="true" at the top of your class. You should be able to do it individual methods (using @struts.form-field), but I've never done it that way - and I've heard from folks that its broken. If you enter a bug for it, I'll try to fix it.

http://xdoclet.sourceforge.net/xdoclet/tags/apache- [EMAIL PROTECTED]

Matt


On Jun 24, 2004, at 10:00 AM, Kyle Korndoerfer wrote:

I've just recently started using XDoclet with a new project (Struts &
J2EE) and hadn't realized that there was an xdoclet task under
ejbdoclet that generated Struts forms from the EJB's (StrutsForm) until
a recent question on this list. This is very handy, but I have a small
question (I'm just missing something simple I guess).

When using the StrutsForm sub-task, the Struts form is created from my
EJB, but there aren't any methods in it other than the default
constructor? How do I tag the fields so that the Struts form is fully
generated (the get/set methods are generated)?

The lack of examples in the XDoclet documentation is not helping me out
much. Thanks for any help you can provide.

-={ Kyle }=-


__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail


------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to