Are you running XDoclet 1.2beta1 build? Or a self-built CVS version?
Erik
Matt Raible wrote:
All I know is that I tried adding the code below to the struts_form.xdt
and it doesn't seem to work. Is there some code I need to modify
related to XDtStrutsForm that will allow this forAllMethodTags to be
nested inside it?
Thanks,
Matt
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Erik Hatcher
Sent: Monday, December 09, 2002 7:11 AM
To: Matt Raible
Cc: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-devel] Generating Validator Forms
Matt Raible wrote:
Are you suggesting that I do something like this (see below). This sounds like it would work, and maybe I could use matchValue of something to detect validator tags?Is this the same (or similar) forAllFormFields() method that I wrote in my strutsgen? Is it calling setCurrentMethod()?
<XDtStrutsForm:forAllFormFields>
/**
<XDtMethod:forAllMethodTags>
* <XDtMethod:methodTagValue/> <!-- Put matchValuelogic here -->I haven't dug under the covers of forAllMethodTags, but I'm assuming it keys off the current method.</XDtMethod:forAllMethodTags> */
ejbdoclet] (XDocletMain.start 51 )Running XDocletfailed.
ejbdoclet] (XDocletMain.start 52 )<<Running XDocletfailed.>>exception:
ejbdoclet] xdoclet.template.TemplateException: Invoking method in class xdoclet.tagshandler.MethodTagsHandler failed: m thodTagValue, line=4 of template file: file:/D:/source/appfuse/metadata/templates/struts_form.xdt,
xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:523)null ejbdoclet] at
Maybe start logging things to dig deeper. Its always a challenge to debug these things, I find. And it just takes some time to fiddle with it to find out what its not getting that it wants.
Erik
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel