On Aug 24, 2004, at 10:32 PM, Craig Crutcher wrote:
This is definitely a newbie question, so please forgive..
But, have others had problems getting core tags to work in templates? (both custom templates and merge files)
I seem to have quite a number of problems with the Method and Parameter tags. For instance, I can add the following to a template merge file:
Which merge file? Context matters here.
<XDtMethod:setCurrentMethod name="ejbCreate"> Hello World! </XDtMethod:setCurrentMethod>
This is correct (I believe), but XDtMethod only works when in the context of a current class. If the merge file you're putting this into is not being used in such a context then it doesn't know what the current class is.
Even though the method does exist for the class being processed, the block will never evaluate. Code very similar to this exists (and supposedly works) in the facade template.
It may just be that the context you want to use it in could set the context but does not simply because its never been desired before. Or it may be that it doesn't make sense in the context you're trying. More details are needed to know.
Erik
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user