Except an open-close tag pair...  i.e.
<cf_mylocaltemplate>test</cf_mylocaltemplate>
or can you do that with 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....


For example:


in dsp_page.cfm


<cfinclude template="../dsp_pagetemplate.cfm">


in dsp_pagetemplate.cfm


<cfif thistag.executionmode is "start'>HEADER CODE<cfelse>FOOTER
CODE</cfif>

In my code, I can only do <cf_dsp_page>my content</cf_dsp_page>


There's no way to cfmodule template='dsp_pagetemplate.cfm" since you
cant surround with a close tag.


Or can you?


-Dov

  _____  

From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 28, 2004 12:27 PM
To: CF-Talk
Subject: RE: Partitioning Custom Tags for multiple code lines?


You really need to use cfmodule. I'm not sure why you say it
would be messy.
What code does it break? There is nothing you can do with cf_*
that you
can't do with cfmodule.
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to