In the fuse box method I am trying to include and show a PDF document with 
the following code, obviously its not working.  Does anyone know how else I 
can call it with a fuseaction and make it work like an <a href="">pdf</a>.  
The variable #templateref# is from a access table that contains the names of 
the pdf files.



<cf_bodycontent>
<cfparam name="attributes.fuseaction" default="">
                <cfswitch expression="#attributes.fuseaction#">
                <cfcase value="invrefquery">
                        <cfinclude template="invref/#templateref#">
                </cfcase>
                <cfcase value="invwebquery">
                        <cfinclude template="webref/#templateref#">
                </cfcase>
_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to