Re: sending a form through CF and catching the results

2010-08-27 Thread Peter Boughton
Josh, you're missing the point entirely. Converting from CSV-Query makes sense and wasn't being questioned. Using the cfhttp tag to do the conversion is what's crazy. There is no sensible reason for requiring CSV conversion to go via HTTP - since the vast majority of the time this isn't

Re: sending a form through CF and catching the results

2010-08-27 Thread Josh Nathanson
There is no sensible reason for requiring CSV conversion to go via HTTP - since the vast majority of the time this isn't necessary/desired - having a dedicated cfcsv tag and/or CsvParse function would have made sense. Yup, I totally agree with that. Guess I misread the emphasis in your

Re: sending a form through CF and catching the results

2010-08-26 Thread daniel kessler
Seems like the error isn't really giving much help. Can you get full debugging from that error on jobs.cfm? Can we see the code on and around line 346 of jobs.cfm? How would I get the full error? The code on and around 346 is the block of code that I posted last. cfhttp method=POST

Re: sending a form through CF and catching the results

2010-08-26 Thread daniel kessler
Though I still have hope, I'm starting to think that this is a wasted effort, because I think it's working off a timed session and that Timestamp is constantly changing. I suspect that's the reason for the 302 error. I can ask them to provide a query just for me, but the chance of it being

Re: Re: sending a form through CF and catching the results

2010-08-26 Thread William Seiter
The page you are trying to hit with cfhttp is expecting a numeric value for 'di_20156'. try changing the value in your script from SPHL-School of Public Health to 20 William -- William E. Seiter On Aug 26, 2010, daniel kessler dani...@umd.edu wrote: Seems like the error isn't

Re: sending a form through CF and catching the results

2010-08-26 Thread daniel kessler
Hey William, I did try that. It didn't help, but thank you. try changing the value in your script from SPHL-School of Public Health to 20 ~| Order the Adobe Coldfusion Anthology now!

Re: sending a form through CF and catching the results

2010-08-26 Thread Rick Root
On Wed, Aug 25, 2010 at 12:07 PM, Peter Boughton bought...@gmail.com wrote: (The columns attribute is part of cfhttp's csv parsing ability. Why cfhttp does CSV parsing instead of having dedicated CSV functions is something only Adobe can tell us.) Actually, it's probably something only

RE: sending a form through CF and catching the results

2010-08-26 Thread Josh Nathanson
Actually, it's probably something only someone from the Allaire days could tell us. My guess would be that since they had the cfquery functions already, it's easier to just turn the CSV into a query and use that existing functionality, than to write a bunch of similar functions specifically

sending a form through CF and catching the results

2010-08-25 Thread daniel kessler
I want to send a form through CF, without the user entering anything, to the this page: https://jobs.umd.edu/applicants/jsp/shared/search/SearchResults_css.jsp I would like it to display particular results, so I would have to also send it a field with a value in it. I wish to do this through

re: sending a form through CF and catching the results

2010-08-25 Thread Jason Fisher
Yes, CFHTTP is your buddy here. Just enter the actual column names that are coming back in your search query in the 'columns' attribute, and try this: cfhttp method=POST url=https://jobs.umd.edu/applicants/jsp/shared/search/SearchResults_css.jsp port=443 name=mySearchQuery

Re: sending a form through CF and catching the results

2010-08-25 Thread daniel kessler
Howdy Jason, I'm having significant trouble making this work. I'm going through, trying to simplify it as I go. Here's the current state of the code: cfhttp method=POST url=https://jobs.umd.edu/applicants/jsp/shared/search/SearchResults_css.jsp; columns=di_0_20156

Re: sending a form through CF and catching the results

2010-08-25 Thread Peter Boughton
Don't specify the columns attribute, it is not needed, and obviously doesn't work. (The columns attribute is part of cfhttp's csv parsing ability. Why cfhttp does CSV parsing instead of having dedicated CSV functions is something only Adobe can tell us.) Use the cfhttpparam tags to send

Re: sending a form through CF and catching the results

2010-08-25 Thread Jason Fisher
Seems like the error isn't really giving much help. Can you get full debugging from that error on jobs.cfm? Can we see the code on and around line 346 of jobs.cfm? - Jason feed me moar web2 loafmeat From: daniel kessler dani...@umd.edu

Re: sending a form through CF and catching the results

2010-08-25 Thread Peter Boughton
Oh and name is incorrect attribute too. Should be result to change the default 'cfhttp' variable name. There's a lot of hidden fields you probably need to pass in - here's some code that will get you a step closer. (Note how the cfhttp tag only has URL and METHOD attributes - nothing else is