FYI, I'm pretty darn sure this is not an issue with MX. ======================================================================= Raymond Camden, ColdFusion Jedi Master for Macromedia
Email : [EMAIL PROTECTED] Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: James Sleeman [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 19, 2002 8:28 PM > To: CF-Talk > Subject: Re: UDFs in a Custom Tag problem > > > You have to do it as an include, the function declaration > actually happens > on parsing of the template you see, so when your custom tag > gets hit on the > end tag that parser "reads" the custom tag template again, and sees a > declaration for isOperator - no matter that it won't be used this time > around. A CFINCLUDE'd file won't be parsed ("read") until > the CFINCLUDE is > executed, so it is an effective work around. > > <CFIF NOT isDefined("isOperator")> > <CFINCLUDE TEMPLATE="thisOperator.cfm"> > </CFIF> > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists