are there any problems with passing page names in the url and doing:
<cfswitch expression="#request.page#">
<cfcase value="dspMain.cfm,actMain.cfm">
<cfinclude template="#request.page#">
</cfcase>
</cfswitch>
and just include the pages you want to show in the cfcase list.
or even doing:
<cfif fileexists("#path#/#request.page#">
<cfinclude template="#request.page#">
</cfif>
and skip the cfswitch.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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