What are you saying?
INCLUDED files can contain Queries, or any other CFML or HTML.
At 05:35 PM 9/28/00 +0100, Homer Simpson wrote:
>As far as I know, when you do a <CFINCLUDE> it includes the file in the
>current file without executing the file. Thus a <CFINCLUDE> cannot contain
>query strings which explains why the <CFINCLUDE> you are using does not
>work.
>
>You will need to change the <CFINCLUDE> to be <CFINCLUDE
>TEMPLATE="/acb/webpage.cfm">
>
>HTH
>
>-----Original Message-----
>From: Gina Shillitani [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 28, 2000 17:02
>To: CF-Talk
>Subject: RE: CFINCLUDE problems
>
>
>I did create the mapping though... it is in CF Server:
>
>Logical Path Directory Path
>/ C:\INETPUB\WWWROOT\
>/acb/ C:\Inetpub\wwwroot\acb\acb\
>
>-----Original Message-----
>From: Hayes, David [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 28, 2000 11:44 AM
>To: CF-Talk
>Subject: RE: CFINCLUDE problems
>
>
>The answer is in that message; it thinks you're referencing and absolute
>path.
>
>Use the relative path syntax if you don't want to create a mapping.
>
>-----Original Message-----
>From: Gina Shillitani [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, September 28, 2000 10:21 AM
>To: CF-Talk
>Subject: CFINCLUDE problems
>
>
>Can you not include files in the following manner? Notes: CF Server has the
>mapping, so does IIS, and if you view the page I'm trying to include
>directly or link to it, it works fine.
>
>I am attempting to do this:
>
><CFINCLUDE TEMPLATE="/acb/webpage.cfm?WebPage_ID=20&DID=9">
>
>but when I do this, I get this message:
>
>Template file not found.
>HTTP/1.0 404 Object Not Found
>Note: If you wish to use an absolute template path (e.g.
>TEMPLATE="/mypath/index.cfm") with CFINCLUDE then you must create a mapping
>for the path using the ColdFusion Administrator.
>Using relative paths (e.g. TEMPLATE="index.cfm" or TEMPLATE="../index.cfm")
>does not require the creation of any special mappings. It is therefore
>recommended that you use relative paths with CFINCLUDE whenever possible.
>
>BUT, if I do this:
>
><cfset y="/acb/webpage.cfm?webpage_id=20&did=9">
><CFOUTPUT><A HREF="#y#">y</A></CFOUTPUT>
>
>the link works just fine. Problem is, I don't want a link, I want to include
>it.
>----------------------------------------------------------------------------
>--
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
>----------------------------------------------------------------------------
>--
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
>----------------------------------------------------------------------------
>--
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
>
>------------------------------------------------------------------------------
>Archives: http://www.mail-archive.com/[email protected]/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
---------------------------------------------------------------------------
Peter Theobald, Chief Technology Officer
LiquidStreaming http://www.liquidstreaming.com
[EMAIL PROTECTED]
Phone 1.212.545.1232 x204 Fax 1.212.679.8032
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]