> Makes sense, but what is the correct way? What should a PURE 
> fusecoder do?

No idea about a *pure* fusecoder, but...

Depends what you're trying to do.  If it's just a single qry fuse or
similar then you could set up a separate "include" directory, point to
it in the fbx_Settings.cfm file (e.g.
request.includepath="#fusebox.rootpath#../includes/" or similar) and
then any "global" includes could be called:

<cfinclude template="#request.includepath#qry_getStuff.cfm">

Alternatively, set up a mapping pointing to your includes directory and
use that instead of the includepath (e.g. /myfbxincs/qry_getStuff.cfm).

If you're trying to embed the results of a complete fuseaction within
the output of another then use cfmodule to call the whole application
again with the specific fuseaction:

<cfmodule template="#fusebox.rootpath##request.self#"
          fuseaction="includes.otheraction"
          var1="variable1"
          ...>

[where request.self is set in fbx_Settings.cfm and is generally
listlast(cgi.script_name, "/") or index.cfm]

HTH?

Tim.


-------------------------------------------------------
RAWNET LTD - Internet, New Media and ebusiness Gurus.
Visit our new website at http://www.rawnet.com for
more information about our company, or call us free
anytime on 0800 294 24 24.
-------------------------------------------------------
Tim Blair
Web Application Engineer, Rawnet Limited
Direct Phone : +44 (0) 1344 393 441
Switchboard : +44 (0) 1344 393 040
-------------------------------------------------------
This message may contain information which is legally
privileged and/or confidential.  If you are not the
intended recipient, you are hereby notified that any
unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited. Such
notification notwithstanding, any comments, opinions,
information or conclusions expressed in this message
are those of the originator, not of rawnet limited,
unless otherwise explicitly and independently indicated
by an authorised representative of rawnet limited.
-------------------------------------------------------



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to