> >Is there any benefit to calling a tag one way or the other 
> or am I totally
> >off base about these being the same?

The obvious difference is where your custom tags are in a place CF Server
won't look, e.g. if you are in a shared enviromment. Here you often need to
use cfmodule.

One subtle difference is when using closing custom tags. </cfmodule> will
close the last unclosed <cfmodule> whereas </cf_customtag> will close the
one you specify. So, therefore when using closing custom tags with cfmodule
you need to close your inbetween custom tags, e.g. <cf_customtag/> . In this
last case the tag will run itself twice, so in the interests of
speed/possible errors you need to add <cfswitch
expression=#ThisTag.ExecutionMode#>....

The easiest soln is to not use cfmodule for tags you want to close.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to