Michael, What's your CF code look like? Note that CF handles the following differently:
<cfset struct.keyName = "KEYNAME"> <cfset struct["keyName"] = "keyName"> If you use the dot notation, then CF stores the key in all upper case. If you use the bracket notation, CF will keep the case. You can verify this using <cfdump />. Lastly, note that the CFDOCS state that "query column names" maintain their case. It doesn't say anything about structures. -Dan >-----Original Message----- >From: Dawson, Michael [mailto:[EMAIL PROTECTED] >Sent: Monday, December 19, 2005 1:52 PM >To: CF-Talk >Subject: Known Bug in CFWDDX CFML2JS Variable Name Case? > >I'm using CF7.0.1. I checked the livedocs and it states: > >"Changed column name case behavior: ColdFusion preserves the case of >column names in JavaScript. (Earlier releases converted query column >names to lowercase.)" > >However, my tests show that CFWDDX outputs all javascript variables to >lower-case names. > >I set these variables in a struct: birthDate, firstName, lastName, >created. (Note the mixed-case variable names.) > >The javascript that was output by CFWDDX is: > >myFamily = new Object(); >myFamily["birthdate"] = new Date(1967, 8, 25, 0, 0, 0); >myFamily["lastname"] = "Dawson"; >myFamily["created"] = new Date(2005, 11, 19, 12, 28, 40); >myFamily["firstname"] = "Michael"; > >Notice that the case of the variable names was not preserved. > >M!chael A Dawson >Manager of Web Applications >Office of Technology Services >University of Evansville >1800 Lincoln Avenue >Evansville, IN 47722 >812-488-2581 >MSN Messenger ID: [EMAIL PROTECTED] > >"There are 10 types of people in the world: Those who understand binary >numbers and those who don't." > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:227297 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

