> Except an open-close tag pair...  i.e.
> <cf_mylocaltemplate>test</cf_mylocaltemplate>
> or can you do that with CFMODULE?

Yes, you can.

<cfmodule template="..."> ... </cfmodule>

There is only one caveat. If you have another cfmodule call inside, you MUST
use this syntax:

<cfmodule template="..." />

The reason is obvious - if you don't use that format, then CF will think
your </cfmodule> is closing the wrong tag.

This means your 'inner' custom tag is run twice. If this is an issue, just
do:

<cfif thisTag.exectution mode is "end"><cfexit></fif>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to