cfheader Content-Range

2012-01-04 Thread Chad Baloga
Does anyone know how to get Content-Range returned as a header response when the request has Range: bytes=in it? I added cfheader name=Accept-Ranges value=bytes but do not get the Content-Range back. ~| Order the Adobe

Re: cfheader Content-Range

2012-01-04 Thread Dave Watts
Does anyone know how to get Content-Range returned as a header response when the request has Range: bytes=   in it?  I added cfheader name=Accept-Ranges value=bytes but do not get the Content-Range back. CF, like most application servers in my experience, will not honor things like this -

Is what I'm trying to do with XML even possible?

2012-01-04 Thread Rick Faircloth
Hi, all... I've been banging my head against this XML wall for over a week now and either I just don't get it or what I'm trying to do is not possible given what the vendor is providing. The vendor of product info provides 3 ways to access product information: Categories, Product within those

RE: Is what I'm trying to do with XML even possible?

2012-01-04 Thread Che Vilnonis
Rick, does something like this work for you? cfset theURL = http://www.lennox.com/api/v1/z7RRSHM/Categories; cfhttp url=#theURL# method=GET result=xmlFeed cfset xmlFeed = xmlParse(theURL) cfset theArray = xmlSearch(xmlFeed, //*[local-name() = 'Category']) / cfloop index=i from=1

Re: Is what I'm trying to do with XML even possible?

2012-01-04 Thread Dave Watts
Is this even possible given the way the info is provided? In order to get that kind of looping over each category and product list, do I need to turn to putting the info into a database first? Or is there a way using the cfhttp statements that vendor is providing? Yes, it's definitely

RE: Is what I'm trying to do with XML even possible?

2012-01-04 Thread Rick Faircloth
In trying to achieve step number 1, I tried to create a document on my hard drive. Should this code not create an xml document on my e: drive? cfscript URLToPull = 'http://lennox.com/api/v1/z7RRSHM/categories/'; /cfscript cfhttp url = '#URLToPull#'

Re: Is what I'm trying to do with XML even possible?

2012-01-04 Thread Raymond Camden
Why do you xmlparse and then convert it back to a string? It was a string originally. Just save cfhttp.filecontent. Actually, cfhttp supports saving it immediately. On Wed, Jan 4, 2012 at 11:15 AM, Rick Faircloth r...@whitestonemedia.com wrote: In trying to achieve step number 1, I tried to

Re: Is what I'm trying to do with XML even possible?

2012-01-04 Thread Dave Watts
In trying to achieve step number 1, I tried to create a document on my hard drive.  Should this code not create an xml document on my e: drive? All you need to fetch a file is a single CFHTTP with the PATH and FILE attributes. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/

Need selectedIndex of cfselect after bind

2012-01-04 Thread webmaster
Ok I have some code that allows a user to type a word in a cfinput and then it suggests records from the database in a cfselect that is bound to that cfinput. Then I need to be able to submit that record using ajax to insert some data into a database. The problem comes in when I try to

Manual Uninstallation of CF 9

2012-01-04 Thread Eugene Colucci
I had a Windows Server 2008 64 bit server with CF 9 Standard Edition 32 bit installed. During a recent installation of the CF 9.0.1 updater, I stupidly executed the 64 bit updater. Now of course, ColdFusion refuses to start (I wonder why...). The supplied ColdFusion uninstaller will not

Re: Manual Uninstallation of CF 9

2012-01-04 Thread Russ Michaels
u should just need to remove the services using regedit and then delete the coldfusion9 folder and u should be able to reinstall. On Wed, Jan 4, 2012 at 9:33 PM, Eugene Colucci ecolu...@buffalo.edu wrote: I had a Windows Server 2008 64 bit server with CF 9 Standard Edition 32 bit installed.

Re: Need selectedIndex of cfselect after bind

2012-01-04 Thread Russ Michaels
to get the value use dd.value to get the text of the selectIndex use DD.options[DD.selectedIndex].text On Wed, Jan 4, 2012 at 9:03 PM, webmas...@pegweb.com wrote: Ok I have some code that allows a user to type a word in a cfinput and then it suggests records from the database in a

RE: Need selectedIndex of cfselect after bind

2012-01-04 Thread webmaster
Yup figured it out. Thanks. var DD = document.getElementById(ItemNameA); var DDSelIndex = DD.selectedIndex; var DDValue = DD.options[DDSelIndex].value; -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Wednesday,

Re: Manual Uninstallation of CF 9

2012-01-04 Thread Eugene Colucci
u should just need to remove the services using regedit and then delete the coldfusion9 folder and u should be able to reinstall. Okay, thanks: I will try that and return here if the process does NOT work. ~| Order the Adobe

CF9 and Excel - advice sought

2012-01-04 Thread Les Mizzell
Is CF9 limited to the versions of Excel it will work with? I've got an application running in CF8 to import email/name lists using the POI Utility (thanks Ben Nadlel). When (and it's not often) the client normalizes their data and removes all formatting, AND uses a pre Excel 2007 file