You cannot include url variables when using cfinclude. URL Variables
will be passed to the included file without anything special being done.
Just use the standard url.VariableName inside the included file.

-----Original Message-----
From: Torrent Girl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, April 20, 2006 12:35 PM
To: CF-Newbie
Subject: <cfswitch>

Hello All

I am code a series of switch/cases

On all of my cases, I need to set a url var to be passed to an included
template.

It is giving me an error. Is this not a correct way to handle this?

Here is my code:

<cfcase value="addAccount">
<cfinclude template="testForm.cfm?Action=AddAccount">
</cfcase>

Here is the error I get:

The system cannot find the file specified 

When i remove the URL var, I don't get the error.

Please help.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1763
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to