>- see footer for list info -< You don't say what's going wrong. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Shawn Fawcett Sent: 11 April 2006 13:47 To: Coldfusion Development Subject: [CF-Dev] trying to include template in body of page from menu
>- see footer for list info -< Hi, I'm trying to do something I though would be simple. When I click on a link in the menu I want it to call a template in the body. Here's what I have so far: at the top of the page <cfparam name="action" default="page1"> <cfparam name="REQaction" default="default"> in menu on side: <cfoutput><td width="185"><p>Menu</p> <p><a href="#script_name#?action=page1">Page 1</a></p> <p><a href="#script_name#?action=page2">Page 2</a></p> </td></cfoutput> in page body: <cfif REQaction is "page1"> <cfinclude template="/test/testpage1.cfm"> <cfelseif REQaction is "page2"> <cfinclude template="/test/testpage2.cfm"> <cfelse> <cfinclude template="/test/testpage1.cfm"> </cfif> what am I missing? ARAXI Traductions France _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- Hosting provided by www.cfmxhosting.co.uk -< >- Forum provided by www.fusetalk.com -< >- DHTML Menus provided by www.APYCOM.com -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
