Yes, it exists.  It fails using either cfhttp.filecontent or some variable 
designated through the restults attribute.


----- Original Message ----- 
From: "Todd" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Friday, January 25, 2008 1:04 PM
Subject: Re: CFHTTP.Filecontent on left side of an assignment


> Confirm that it exists?
> <cfdump var="#test#">
>
> I thought it was just cfhttp.fileContent?  I see they added the results
> attribute in 7, but there's no additional documentation on it.
>
> On Jan 25, 2008 2:51 PM, Jim McAtee <[EMAIL PROTECTED]> wrote:
>
>> I'm getting an error in CF8 when I attempt to alter the contents of the
>> filecontent key of a struct returned by CFHTTP.  This worked fine in 
>> CF5.
>> I can easily fix it, but what's the reason for the error?  There's not
>> much to go on in the debugging output.
>>
>> The code:
>>
>> <cfhttp url="xxxxxxxxxxxx.com/test2.cfm" result="test">
>> <cfset test.filecontent = Replace(test.filecontent, "a", "b", "all")>
>>
>> The error:
>>
>> 12:41:30.030 - java.lang.NoSuchFieldException - in 
>> D:\web\dev5\test1.cfm :
>> line 13
>>            FILECONTENT
>> While this statement is ok:<cfset s = Replace(test.filecontent, "a", 
>> "b",
>> "all")>
>>
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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

Reply via email to