Paul, they are both roughly the same.

The main advantage of using CFMODULE is that you do not need to place your
custom tags in the Server custonTag folder or in the same folder as the
calling page.  If you can define the path to the custom tag, then you can
use CFMODULE on it.

I use it to use a single custom tag from multiple folders.

Russel

============================================================
  Russel Madere, Jr.         Senior Web Developer
  ICQ: 5446158               http://www.TurboSquid.com

Some days you eat the bear; some days the bear eats you.
============================================================


> -----Original Message-----
> From: Paul Sinclair [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 21, 2000 08:33
> To: CF-Talk
> Subject: Is <CFMODULE> = <CF_CustomTag>?
>
>
> This is a simple one I guess. Are the following two snippets of code
> equivalent:
>
> 1.
> <cfmodule template="myCustomTag" attribute1=1 attribute2=2>
>
> 2.
> <cf_myCustomTag attribute1=1 attribute2=2>
>
> Is there any benefit to calling a tag one way or the other or am I totally
> off base about these being the same?
>
> Paul Sinclair
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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