I'm running a self-built CVS version from a couple days ago. Thanks for looking at that, I'll bang around and see if I can figure it out.
Matt > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf > Of Erik Hatcher > Sent: Tuesday, December 10, 2002 7:13 AM > To: Matt Raible > Cc: [EMAIL PROTECTED] > Subject: Re: [Xdoclet-devel] Generating Validator Forms > > > forAllMethodTags does call setCurrentMethod, so it seems it > should work, > although I don't have the bandwidth right now to try it out > myself and > debug it. Anyone else have ideas on this? > > 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? > >>> > >>> > >>> <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 > >> > > > > > > > > > > > > ------------------------------------------------------- > > 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