If I am understaing correct, and you are trying to call a page via a url
variable...You can do the following

<cfif isDefined("url.variable")>
<cfset page = url.variable>
</cfif>
<cfswitch condition="#page#">
<cfcase value="one">
<cfinclude template="foo.cfm>
</cfcase>
</cfswitch>




Doug B.
----- Original Message ----- 
From: "Peter Boughton" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Thursday, February 08, 2007 4:56 AM
Subject: Re: URI trailing question mark.


> Not sure I understand your question.
>
> If you want to include a quesiton mark on a URL, you must use the url
encoded version: "page.cfm?variable1=ItemKey%3F"
>
> If you want to include another query string variable, you do not delimit
with quesion marks. The most common delimiter used is ampersand. Eg:
"page.cfm?variable1=ItemKey&variable2=ItemKey2"
>
> Does that help?
>
> >Hello all,
> >I have added a href="page.cfm" on a CfTreeItem command.
> >On click, the called URI is : page.cfm?variable=ItemKey?
> >
> >With this trailing question mark, I get an error message.
> >
> >How can I call the correct page from my previous command ?
> >
> >Thank you for your help.
> >
> >Myriam.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269131
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to