RE: Binary output in CFContent ?

2009-02-13 Thread Ian Vaughan
Thanks I am using the following cfset user = listLast(cgi.REMOTE_USER,\) cfheader name=content-disposition value=attachment;filename=testdoc.doc cfcontent type=application/msword file=#ExpandPath(.)#\testdoc.doc deletefile=no to display word docs, but what would be the best

SOAP Web Service - hand crafted, OK; cfinvoke no way!

2009-02-13 Thread Colin Jones
OK - we are trying to connect to a web service for QuickAddress postcode software, and had been using cfinvoke - the method we're using is very simple and requires no arguments: We tried this: cfinvoke webservice=http://ourserver:2021/proweb.wsdl; method=DoGetLicenseInfo

Re: Setting row colors dynamically with cfgrid AJAX

2009-02-13 Thread Raymond Camden
Is this what you mean? http://www.coldfusionjedi.com/index.cfm/2007/8/20/Custom-grid-renderers-with-CFGRID On Thu, Feb 12, 2009 at 4:14 PM, Robbie Byrd rb...@mdimediagroup.com wrote: Hi there, I'm pulling my hair out trying to figure out how to set a row color based on a CFC returning

Re: SOAP Web Service - hand crafted, OK; cfinvoke no way!

2009-02-13 Thread James Holmes
Are you using the standard JVM that ships with CF or did you change it? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/13 Colin Jones c.jo...@rgu.ac.uk: OK - we are trying to connect to a web service for QuickAddress postcode software, and had been

Re: UPS - XML Rates: Connection Failure

2009-02-13 Thread Dave Watts
In the past two days, I have encountered a connection error on a production server with the following cfhttp call: CFHTTP URL=https://www.ups.com/ups.app/xml/Rate; METHOD=Post RESOLVEURL=false TIMEOUT=#attributes.timeout# cfhttpparam type=XML name=XML value=#temprequest# /CFHTTP

Re: UPS - XML Rates: Connection Failure

2009-02-13 Thread Deanna Schwint
Test another URL to check it's not a network problem. Adrian Thanks for the suggestion! I switched to the UPS development server in my cfhttp call: https://wwwcie.ups.com/ups.app/xml/Ratewhich connects just fine. Is there anything in ColdFusion that would block a specfic URL?

Re: UPS - XML Rates: Connection Failure

2009-02-13 Thread Deanna Schwint
In the past two days, I have encountered a connection error on a production server with the following cfhttp call: CFHTTP URL=https://www.ups.com/ups.app/xml/Rate; METHOD=Post RESOLVEURL=false TIMEOUT=#attributes.timeout# cfhttpparam type=XML name=XML value=#temprequest#

Re: SOAP Web Service - hand crafted, OK; cfinvoke no way!

2009-02-13 Thread Colin Jones
Are you using the standard JVM that ships with CF or did you change it? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ Are you using the standard JVM that ships with CF or did you change it? Original JVM I believe - this is from CF Admin Sysinfo: Server

Re: OT: More SQL Profiler questions

2009-02-13 Thread Rick Root
On Thu, Feb 12, 2009 at 10:22 AM, Gaulin, Mark mgau...@globalspec.com wrote: Say, what was the deal with going back to using the regular SQL Server JDBC and my queries are flying? My fusion reactor wrapper driver was misconfigured... I'd accidentally referred to the FR2.0 documentation for

Re: (ot) More SQL Profiler questions

2009-02-13 Thread Rick Root
To properly profile, just set MaxPooledStatements to 0. That will prevent it from doing sp_execute and instead it will do sp_execprep and sp_unprepare for every query and you'll see the full SQL in the profiler On Thu, Feb 12, 2009 at 11:32 AM, Gaulin, Mark mgau...@globalspec.com wrote: Hi

Re: Maybe I need a SQL Service Consultant...

2009-02-13 Thread Rick Root
On Thu, Feb 12, 2009 at 11:34 AM, Brad Wood b...@bradwood.com wrote: resolving the way my database driver was configured helped clear up a lot of problems by reducing the # of reads we were doing. @Rick, can you provide any specifics on the above change? What did he change? How did it

Javascript question

2009-02-13 Thread Scott Stewart
I've got a chunk of javascript that's supposed to do something really simple, toggle radio buttons on and off (disable/enable) based on another radio button However, there's a bug in IE, (http://webbugtrack.blogspot.com/2007/08/bug-152-getelementbyid-returns.html) that forces me (I think)

RE: Javascript question

2009-02-13 Thread Dawson, Michael
This isn't the answer you are asking for, but I would suggest that you use jQuery for this task. jQuery's selectors would make it easier to find the objects you want to modify, then you can easily set the disabled flag, as needed. Thanks, Mike -Original Message- From: Scott Stewart

Re: Javascript question

2009-02-13 Thread Scott Stewart
I wish I could, I've had fits trying to get jquery to function properly with this layout in IE. I'm not sure jquery likes nested tables. Dawson, Michael wrote: This isn't the answer you are asking for, but I would suggest that you use jQuery for this task. jQuery's selectors would make it

RE: Javascript question

2009-02-13 Thread Adrian Lynch
I know, I hate it sometimes too when you ask a question and someone says, don't do it that way, do it this completely different way, but, jQuery! script type=text/javascript src=/scripts/jquery-1.3.1.min.js/script script type=text/javascript $(function() {

RE: Javascript question

2009-02-13 Thread Adrian Lynch
Could you post the HTML source for us? Or point to it on t'internet. Adrian -Original Message- From: Scott Stewart [mailto:saste...@email.unc.edu] Sent: 13 February 2009 16:28 To: cf-talk Subject: Re: Javascript question I wish I could, I've had fits trying to get jquery to

Re: Javascript question

2009-02-13 Thread Scott Stewart
jquery doesn't work with this layout, that's the first place I went. Adrian Lynch wrote: I know, I hate it sometimes too when you ask a question and someone says, don't do it that way, do it this completely different way, but, jQuery! script type=text/javascript

Re: cfdocument pdf generation

2009-02-13 Thread Mike Chabot
I don't believe you can swap in a newer version of iText and still have cfdocument work. So if cfdocument isn't doing what you want then you will have two switch to a different PDF generation technology. If you switch to a later version of iText you will no longer be using ColdFusion, which would

Re: Javascript question

2009-02-13 Thread Claude Schneegans
Hi, IMHO, the simplest on most efficient way to bypass the problem would be to make sure no element has a name which could be identical to the ID of another one. For instance, always use something like ID=id_ NAME=name_

Re: CF 8 woes

2009-02-13 Thread Spencer Collier
I Have seen this issue, has anyone found a solution? We finally got our servers sites working on CF8 after the upgrade from CF7. However we have two problems. 1. All of the sites pages come up 3 - 6 seconds slower than they did under CF7. 2. The Enable Performance Monitoring checkbox

RE: CF 8 woes

2009-02-13 Thread Mark Kruger
The solution we use is to NOT upgrade from CF7. Instead we do a full install of CF8. Besides the perfmon problem we noticed issues with the Flex integration as well. -mark Mark A. Kruger, CFG, MCSE (402) 408-3733 ext 105 www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original

counting questions with cf

2009-02-13 Thread cfcom
I want to count each time an email is sent to a different group. I have listID(identity increment), fname, lname, email, grp1, grp2, grp3 I have 3 groups (grp1, grp2, grp3) that I want to track My example email goes out to grp1: Would an UPDATE work for adding the counts cfquery Update

Re: counting questions with cf

2009-02-13 Thread Charlie Griefer
INT should work fine. unless you foresee going over 2,147,483,647 trackable emails (which I suppose is possible... in which case bigint would work as well... it'd just take up twice the space). for the actual SQL, you'd want SET grp1 = grp1 + 1 On Fri, Feb 13, 2009 at 10:44 AM, cfcom

CF8 License Wanted

2009-02-13 Thread cf user
Looking to buy CF8 Standard license (new or used). I am in US. Corporate check or credit card. eMail: this_ip_address -at- yahoo -dot- com. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date

Re: Javascript question

2009-02-13 Thread Brian Swartzfager
jquery doesn't work with this layout, that's the first place I went. Not to keep beating the jQuery horse, but if jQuery is referencing the radio button by ID or some other non-positional selector, the layout shouldn't matter. Just to be sure, I wrote up a quick little test with 2 sets of

Re: Javascript question

2009-02-13 Thread Scott Stewart
and that would/does work. I don't know if it's an error with the layout or jquery can't traverse nested tables or what but I've never been able to get it to function consistently in this layout Brian Swartzfager wrote: jquery doesn't work with this layout, that's the first place I went.

Phantom SMTP server

2009-02-13 Thread Jeff Martin
I was perusing the mail.log file this morning because for some reason the mail spooler stopped running. The good news is that restarting CF got mail flowing again. I found a strange thing though. There are lines in the mail.log that read Could not connect to SMTP host: {servername}, port:

Re: Phantom SMTP server

2009-02-13 Thread Cutter (CFRelated)
Have you run a search of all active code on that server, to make sure that someone hasn't placed a file with a cfmail tag with the smtp attribute? Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS

RE: counting questions with cf adding time tracking

2009-02-13 Thread cfcom
how would I add the ability to track the date and time of each email per group (grp1, grp2, grp3) would I add grp1_sendDate, grp1_sendTime, grp2_sendDate, grp2_sendTime, grp3_sendDate, grp3_sendTime to listID(identity increment), fname, lname, email, grp1, grp2, grp3, cfquery UPDATE

ColdFusion form losing form scope

2009-02-13 Thread Rusty Owens
OK, I am having a very strange problem. Several applications on our production web servers have started manifesting the same symptom. On the login page, you have a couple of fields for account name and password. When you hit submit the action page says it can't find the form variables. These are

Re: Javascript question

2009-02-13 Thread Nathan Strutz
Ok scott, you've piqued my interest. You've _got_ to share this interface that chokes jQuery. :) nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG Manager @ http://www.azcfug.org/] On Fri, Feb 13, 2009 at 12:57 PM, Scott Stewart saste...@email.unc.eduwrote: and that

RE: cfdocument pdf generation

2009-02-13 Thread Nathan C. Smith
If it is possible to do what you want to do in cfreport you might want to look into that. I remember a thread a year or two ago where somebody switched from raw CF to cfreport and was blown away by the speed difference. -Nate -Original Message- From: Daniel

RE: Javascript question

2009-02-13 Thread Adrian Lynch
SHARE IT, SHARE IT, SHARE IT, SHARE IT, SHARE IT!! :OD Go on, take out any sensitive info (but make sure the structure remains the same). Adrian -Original Message- From: Nathan Strutz [mailto:str...@gmail.com] Sent: 13 February 2009 21:50 To: cf-talk Subject: Re: Javascript

cfpdfform and PDF Dynamic XML Forms

2009-02-13 Thread TJ Downes
Hi all, I have been banging my head on this issue for a couple of days and hope someone has some experience to offer. We are replacing PDFs generated by cfdocument with PDF templates developed in LiveCycle Designer, due to the issues we have had trying to get our results to be consistent. I

Re: Maybe I need a SQL Service Consultant...

2009-02-13 Thread Judah McAuley
That's fascinating. But why would sql server create an index in a codeset that didn't match the column? You'd think that the index would match the declared type of the column automatically. I would think of that as a bug in sql server. We're moving some applications to do more multilingual

Re: Maybe I need a SQL Service Consultant...

2009-02-13 Thread Brad Wood
This isn't a bug in SQL Server. Rick said that his primary key column was a char field and so was the index. Since Unicode support was enabled, parameters were coming in as nchars or nvarchars. SQL Server cannot compare a char to an nchar so it must convert one so the data types match.