Yes you can.

#thistag.executionmode# will always return a start / end.

~Todd


On Thu, 30 May 2002, Rob Baxter wrote:

> you're right, I just poorly phrased my answer. What I meant was that you
> lose the ability to take action between the start and end execution modes.
> Because I don't think when you call cfmodule there is an end execution mode.
> 
> To me, the real benefit of having start/end tags in your custom tags is that
> you can just embed content between them and then you have access to it in
> the end execution mode of your tag. You lose this functionality when using
> cfmodule.
> 
> </rob>
> 
> 
> 
> 
> -----Original Message-----
> From: Pascal Peters [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 30, 2002 11:57 AM
> To: CF-Talk
> Subject: RE: Quick question on custom tags
> 
> 
> This is not true. You can perfectly use the ThisTag scope with cfmodule.
> In fact, I do it all the time. You have to be carefull with nesting
> <cfmodule>s.
> 
> Pascal Peters
> Certified ColdFusion Advanced Developer
> Macromedia Certified Instructor
> LR Technologies
> Av. E. De Mot, 19
> 1000 BRUSSELS, BELGIUM
> Tel: +32 2 639 68 70
> Fax: +32 2 639 68 99
> Email: [EMAIL PROTECTED]
> Web: www.lrt.be
> 
> 
> -----Original Message-----
> From: Rob Baxter [mailto:[EMAIL PROTECTED]]
> Sent: donderdag 30 mei 2002 17:47
> To: CF-Talk
> Subject: RE: Quick question on custom tags
> 
> 
> One problem with cfmodule is that you cannot take advantage of the
> ThisTag type functionality you get from using the different execution
> modes. In other words you can't have tags like
> 
> <cf_MyCustomTag>
> blah blah
> </cf_MyCustomTag>
> 
> I think someone else alluded to it, but starting with CF5 you can add
> additional custom tag paths via the CF administrator. when you call
> <cf_MyCustomTag> CF will search the depth of the custom tag tree(s)
> looking for a file called MyCustomTag.cfm. If you have 2 tags with the
> same name it will use the first one it finds (you will see warnings
> about this in one of the server logs).
> 
> </rob>
> 
> -----Original Message-----
> From: Eric J Hoffman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 30, 2002 11:14 AM
> To: CF-Talk
> Subject: RE: Quick question on custom tags
> 
> 
> Use <cfmodule> to call it.Regards,
> 
> Eric J. Hoffman
> Director of Internet Development
> DataStream Connexion, LLC
> (formerly Small Dog Design)
> 
> -----Original Message-----
> From: Brian Eckerman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 30, 2002 10:05 AM
> To: CF-Talk
> Subject: Quick question on custom tags
> 
> 
> Is it possible to call a custom tag that resides in a folder other than
> the current folder.
> 
> I am using <cf_cf_formurl2attributes> but I would like to have one copy
> residing in a "commonfiles" folder at root. This would take something
> like <../cf_cf_formurl2attributes>  right?  It doesn't seem to work.
> 
> Any help is appreciated.
> 
> 
> 
> 
> 
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to