Thanks for the clarification... it good to know I can do that
even with 4.5... and reset=""... doesn't appear I can do that.
The only attributes I the 4.0 WACK are file, type, and deletefile.

How necessary is the reset=true attribute?  Is there a workaround?

Rick

PS - I will be so glad when CF 8 finally comes out.  I'm feeling the
pinch of outdated techniques.  I was disappointed to hear the release
was pushed back from this summer to the end of the year...


-----Original Message-----
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 23, 2007 8:12 PM
To: CF-Talk
Subject: RE: Scorpio - What to do until then?

Rick,

>"If this is an AJAX call, we must return JSON data"
>
>As I'm using CF 4.5, I am really not sure if I have the option of
>return JSON data to an AJAX call.  Can you clarify for me whether
>or not JSON data can be generated using CF 4.5?
>
>The point of utilizing JSON data comes up over and over again
>as I try to realize a solution for using CF server-side validation
>and AJAX.

JSON is just text--specifically text formatted as a valid JavaScript
variable. 

Where I think you're getting confused is most of the CF-related JSON tools
out there are geared towards CFMX. However, all these tools do is help you
generate the JSON string by converting a native CF variable to the JSON
format.

As you can clearly see in my example, I'm generating this "JSON" data by
hand. As a matter of fact, my example should probably even run in CF4.5.

The only thing I can see that might cause a problem is the reset=""
attribute in the <cfcontent /> tag. I can't recall if that was available in
CF4.5.

-Dan




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273631
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