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

Yes:

<cfmodule template="mylocaltemplate.cfm">
test
</cfmodule>

> The only way I've been able to do that is to make a localtemplate.cfm
> file which includes the real file I want to cfmodule. That way,
> thistag.executionmode can properly be detected by the cfmodule tag....

Custom tags called with CFMODULE have no trouble detecting
ThisTag.ExecutionMode. The only catch is if you use nested custom tags, in
which case you either have to use CFMODULE with all of them, or just the
innermost ones.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to