I don't know about that. Granted, I'm not on CF5, but when I run the 
code below, I get 1 -- not an error.

<cfscript>
url.a = 1;
form.a = 2;
attributes.a = 3;
WriteOutput(a);
</cfscript>

So, unless it was different in CF5 (and it might have been-I don't 
remember), I don't think having it defined in multiple scopes would 
cause an error.

--Ferg

Bryan Stevenson wrote:
>> If stat was defined in another scope, then it should not be declared
>> "undefined" anyway.
>> When the scope is not specified, CF is supposed to look in all scopes,
>> including URL,
>> so stat should be defined here (&stat=P)
>>     
>
> I know Claude, but what if the param came in via the URL, but was scoped in 
> the 
> FORM scope in the receiving template??  You'd get that error (possibly 
> mentioning not found in that scope).
>
> Cheers
>
> Bryan Stevenson B.Comm.
> VP & Director of E-Commerce Development
> Electric Edge Systems Group Inc.
> phone: 250.480.0642
> fax: 250.480.1264
> cell: 250.920.8830
> e-mail: [EMAIL PROTECTED]
> web: www.electricedgesystems.com 
>
>
> 

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

Reply via email to