ifHasClassTag does it all. tagName="bluestone:pool" paramName="initial-size".
Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:xdoclet-devel- > [EMAIL PROTECTED]] On Behalf Of Andrew Stevens > Sent: Thursday, January 10, 2002 8:31 PM > To: [EMAIL PROTECTED] > Subject: [Xdoclet-devel] Testing for optional tag parameters from a > template > > Is there a template tag to check if a class-level tag has a specified > parameter (by name)? > > For Bluestone's instance pool settings, I wanted to use a tag like > @bluestone:pool initial-size="0" cache-limit="0" idle-timeout="PT5M" > use-reaper="false" reap-asynch="false" > However, according to the schema, each of these parameters is optional > (the > schema contains defaults for them). I suppose I could just have separate > tags for each one, and use <XDtClass:ifHasClassTag/> in the template, but > I'd prefer to avoid it if I can (to keep down the number of extra tags > needed). > > > Andrew. > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > _______________________________________________ > Xdoclet-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-devel _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
