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?


    <XDtStrutsForm:forAllFormFields>
Is this the same (or similar) forAllFormFields() method that I wrote in my strutsgen? Is it calling setCurrentMethod()?

    /**
     <XDtMethod:forAllMethodTags>
     * <XDtMethod:methodTagValue/> <!-- Put matchValue logic here -->
     </XDtMethod:forAllMethodTags>
     */
I haven't dug under the covers of forAllMethodTags, but I'm assuming it keys off the current method.

ejbdoclet] (XDocletMain.start                   51  ) Running XDoclet
failed.
ejbdoclet] (XDocletMain.start                   52  ) <<Running XDoclet
failed.>>
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, exception:
null
ejbdoclet]     at
xdoclet.template.TemplateEngine.invokeMethod(TemplateEngine.java:523)
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

Reply via email to