OK. How about the use of the 'xdoclet.template.TemplateEngine.outputOf()' method; is the expression already resolved in the attributes passed in the tag method?
BG ----- Original Message ----- From: "Ara Abrahamian" <[EMAIL PROTECTED]> To: "'Bart Guijt'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, March 31, 2002 5:37 PM Subject: RE: [Xdoclet-devel] Creating a <XDtType:typeWithoutDimensions> tag > > I searched the existing tags and found the following: > > > > 1) <XDtClass:classOf>...</XDtClass:classOf> which returns the > > not-full-qualified name of the content; > > > > 2) <XDtPackage:packageOf>...</XDtPackage:packageOf> which does the > same > > for > > packages; > > These are ancient tags! We lived with them for a lifetime! > > > 3) <XDtClass:pushClass value=""/> which seems to work with > > <XDtClass:pushClass>...</XDtClass:pushClass> as well. > > I could either create another popClass tag or create a block tag which > pops current class up from the stack in </XDtClass:pushClass>. > > > All these tags make use of the > > 'xdoclet.template.TemplateEngine.outputOf()' > > method, whilst the JavaDoc of this method only mentions the conten tag > as > > the way to do these things... > > It's in fact a bad thing. It barfs if for some reasons 'out' is null. > Don't use it. > > > Right now I implemeted it as a block tag, works well, but needs to be > > accepted either way. DOes it actaully matter? > > Use a content tag, no out.println. > > Ara. _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
