Oh, that's a problem. >:O( More of this Struts stuff. Is there anyway to loop around the paramaters in a class level tag?
Thanks again Jordan -----Original Message----- From: Konstantin Priblouda [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 November 2002 3:01 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Xdoclet-user] Template problem --- Jordan Thomas <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to run the following code in a template > that I made > > > <XDtClass:ifHasClassTag > tagName="struts.action" > paramName="nextState"> > <XDtParameter:forAllParameterTypes > paramName="nextState"> > <set-property property="nextState" > value="<XDtClass:classTagValue tagName="struts.action" > paramName="nextState"/>"/> > </XDtParameter:forAllParameterTypes> > </XDtClass:ifHasClassTag> > > It looks right but for some reason I am getting an > error which reads > > Xdoclet.template.TemplateException: Invoking method > in class > xdoclet.tagshandler.ParameterTagsHandler failed: forAllParameterTypes, > line=4 of template ...., exception: null > > Any suggestions would be most appreciated. Hmm, <XDtParameter:forAllParameterTypes> works with method parameters ( and also requires current method set ) - which is apparentoly not the case. You need somethig like XDtClass:classTagValue... regards, ===== Konstantin Priblouda ( ko5tik ) Freelance Software developer < http://www.pribluda.de > < play java games -> http://www.yook.de > < render charts online -> http://www.pribluda.de/povray/ > __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
