Apologies, I found what I was doing wrong :

<cfinclude template=".."  cannot have a querystring "?mln=" it just needs to be 
name of the cfm file. Pretty basic.

Thank you everyone.
--- On Wed, 2/17/10, Qing Xia <[email protected]> wrote:

From: Qing Xia <[email protected]>
Subject: Re: jquery ajax tabs & cfinclude
To: "cf-talk" <[email protected]>
Date: Wednesday, February 17, 2010, 5:34 PM


Actually I took out all the complication and put the cfincluded files in the
same directory as the calling page "dispAppointments.cfm". It still gives
the same issue.

Hmm... peculiar. What happens if your put the following code directly into
your jQuery tabs?

<cfset variables.thisPath = ExpandPath("*.*")>
<cfset variables.thisDirectory = GetDirectoryFromPath(variables.thisPath)>
<!--- Replace file name with the one you are lookig for --->
<cfset variables.yourFile = "index.cfm">

<cfif FileExists(ExpandPath(variables.yourFile))>
<cfoutput>
Your file exists in this directory (#variables.thisDirectory#):
#GetFileFromPath("#variables.thisPath#/#variables.yourFile#")#
</cfoutput>
<cfelse>
<cfdirectory directory="#variables.thisDirectory#" name="myDirectory"
sort="name ASC">
<cfdump var="#myDirectory#" label="files in my directory
(#variables.thisDirectory#)">
</cfif>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:330834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to