I'm assuming you're using MX?
I haven't tried this out, but there is a servlet mapping defined for it, so
you could possibly change the value of:
<servlet-mapping>
<servlet-name>GraphServlet</servlet-name>
<url-pattern>/CFIDE/GraphData.cfm</url-pattern>
</servlet-mapping>
in your [cf install]\wwwroot\WEB-INF\web.xml to something different, and
then capture the result of <cfchart> to a variable & do some string
replacing:
<cfsavecontent variable="chartHTML">
<cfchart ... >
</cfsavecontent>
<cfset chartHTML = ReplaceNoCase(chartHTML, "/CFIDE/GraphData.cfm",
"/foo/GraphData.cfm", "All")/>
I'm using 6.1, but from what I remember the <servlet-mapping> bits are the
same in 6.0.
Mind you, I've only had 2 coffees this morning, so take all my advice with a
handful of salt & backup your files before messing with them :)
--
Lindsay Evans.
Developer,
Red Square Productions.
[p] 8596.4000
[f] 8596.4001
[w] www.redsquare.com.au
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Taco Fleur
Sent: Sunday, 19 October 2003 5:33 PM
To: CFAussie Mailing List
Subject: [cfaussie] CFCHART & CFIDE dir
Is it possible to call the charts from a different directory than CFIDE?
When I use CFCHART and look at the source I see the flash file is called
from the CFIDE directory, but I have that directory password protected and
only accessible from localhost.
I haven't done research on this one to be honest (A bit lazy today) so I
might be asking a stupid and simple question.
TIA....
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/