I have an idea....
how about continue to use request.imagesroot or whatever. Have a
default value in your application.cfm, then in your root index.cfm
change the value in eash of the cfcases.
cfswitch listfirst(attribs.fuseaction)
cfcase value "cat"
cfset request.imagesroot="/cat"
cfset attribs.fa=listlast(attribs.fa)
cfinclude cat/index.cfm
/cfcase
cfcase value "reg"
cfset request.imagesroot="/reg"
cfset attrbs.fa=listlast(attribs.fa)
cfinclude reg/index.cfm
/cfcase
cfcase value "MainPage"
cfset request.imagesroot="/images"
cfinclude qry_GetStuff
cfinclude dsp_DispMainPage
/cfcase
cfcase value "logout"
cfset request.imagesroot="/images"
cfinclude act_killsession
cfinclude dsp_goodbye
/cfcase
/cfswitch
Steve Nelson
http://www.SecretAgents.com
Tools for Fusebox Developers
(804) 825-9063
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists