Re: Countries Select Box

2010-11-11 Thread Rick Colman
that worked. write me if you want a copy ... On 11/11/2010 10:15 AM, John M Bliss wrote: > Little find-and-replace on this and you should be good to go: > http://snipplr.com/view/33790/form-country-code-select-with-if-selected-test/ > > On Thu, Nov 11, 2010 at 12:06 PM, Rick Colman wrote: > >> I

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Richard White
nice link, thanks will! >>transferring data from one app to another >> > > >I'd just use Navicat to transfer the data. No CF needed. Quick and easy. > >Will ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Ad

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
Nice work! - Tony Bentley (sent from iPhone) On Nov 11, 2010, at 11:06 AM, Donnie Carvajal wrote: > > Hi Tony, > > I just realized you were intending for the code to go in the site-wide error > handler and not the custom error handling of the AJAX code. I got it > working. This was a great

Re: Countries Select Box

2010-11-11 Thread Roger Austin
Rick Colman wrote: > > I need to provide world-wide country postal abbreviations in a drop-down > select box. I don't know of one already to go. Since countries can change, I use the UN country code list as the starting point. It isn't that hard with cut-n-paste to knock one out. Good

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Hi Tony, I just realized you were intending for the code to go in the site-wide error handler and not the custom error handling of the AJAX code. I got it working. This was a great help!! Thanks again, Donnie > Check firebug (how many times do people say this?) > > If you throw a 500 and

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Hi Tony, Thanks again. I should mention that I want the site-wide error handler to run. It writes to log files, sends email notification as well as some other bug tracking pieces we have in place. If I put a cfabort in the code, the site-wide error handler won't run. Are you suggesting the

Re: Countries Select Box

2010-11-11 Thread Dave Watts
> I need to provide world-wide country postal abbreviations in a drop-down > select box. > > there must be one of those out there, although I have searched. > > Anybody know where to get one. It's just HTML, right? So if you see a site with one, view source and copy the appropriate SELECT. Dave

RE: Countries Select Box

2010-11-11 Thread Che Vilnonis
Rick, do you mean something like this? Most are there except Axis-of-Evil countries. Afghanistan AF Albania AL Algeria DZ American Samoa (U.S. Ter.) AS Andorra AD Angola AO Anguilla AI Antigua & Barbuda AG Antilles (Netherland) AN Argentina AR Armenia AM Aruba AW Ascension GB2 Australia AU Austri

Re: Countries Select Box

2010-11-11 Thread Russ Michaels
check cflib.org On Thu, Nov 11, 2010 at 6:15 PM, John M Bliss wrote: > > Little find-and-replace on this and you should be good to go: > > http://snipplr.com/view/33790/form-country-code-select-with-if-selected-test/ > > On Thu, Nov 11, 2010 at 12:06 PM, Rick Colman wrote: > > > > > I need to

Re: Countries Select Box

2010-11-11 Thread John M Bliss
Little find-and-replace on this and you should be good to go: http://snipplr.com/view/33790/form-country-code-select-with-if-selected-test/ On Thu, Nov 11, 2010 at 12:06 PM, Rick Colman wrote: > > I need to provide world-wide country postal abbreviations in a drop-down > select box. > > there m

Countries Select Box

2010-11-11 Thread Rick Colman
I need to provide world-wide country postal abbreviations in a drop-down select box. there must be one of those out there, although I have searched. Anybody know where to get one. TNX. rick. ~| Order the Adobe Coldfusion Ant

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
Check firebug (how many times do people say this?) If you throw a 500 and abort after, the client should treat the response as an error. You need to configure the client too, not just put in . Use ALL of my code, not just a fragment. > Thanks Tony! Will the work with the > site-wide error

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Donnie Carvajal
Thanks Tony! Will the work with the site-wide error handler on? I tried adding this tag to my ajax code, but it is still returning as success. Thanks, Donnie ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.

Re: JQuery Ajax Error issue with Site-wide Error Handler

2010-11-11 Thread Tony Bentley
Not sure where this goes in CF5.5. Place it in your error handler. In your js document: $.ajaxSetup({ error:function(x,e){ if(x.status == 500 && x.statusText == "Co

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Will Tomlinson
>transferring data from one app to another > I'd just use Navicat to transfer the data. No CF needed. Quick and easy. Will ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430

Re: CFMAIL Speed Issue

2010-11-11 Thread Jake Churchill
however, on one of the boxes there was a username/password set up in the mail section of cfadmin. I removed it and I'll see if that helps. Thanks for the suggestion. On Thu, Nov 11, 2010 at 8:02 AM, Jake Churchill wrote: > IIS on the local box is what relays and no params are needed > > > On

Re: CFMAIL Speed Issue

2010-11-11 Thread Jake Churchill
IIS on the local box is what relays and no params are needed On Thu, Nov 11, 2010 at 7:44 AM, Stephens, Larry V wrote: > > Do you use cfmail parameters for naming the server, user and password? I'm > on HostMySite and I'm not forced to use these parameters but I've found it's > at least 300x fas

RE: CFMAIL Speed Issue

2010-11-11 Thread Russ Michaels
That would imply an issue with the default SMTP server set in the cfadmin then, if you are specifying a different server in the cfmail tags to speed it up. -Original Message- From: Stephens, Larry V [mailto:steph...@indiana.edu] Sent: 11 November 2010 13:45 To: cf-talk Subject: RE: CFMAI

RE: CFMAIL Speed Issue

2010-11-11 Thread Stephens, Larry V
Do you use cfmail parameters for naming the server, user and password? I'm on HostMySite and I'm not forced to use these parameters but I've found it's at least 300x faster (a few seconds compared to 3-5 minutes) if I do. -Original Message- From: Jake Churchill [mailto:reyna...@gmai

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Richard White
transferring data from one app to another >> Hi, >> >> I am running the following cfquery which inserts a large amount of >> rows into a table (approx 2200) > >Just out of curiosity, where does your insert data originate from? ~~

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Richard White
thanks for providing the details as to what is happening behind the scenes > On Wed, Nov 10, 2010 at 12:40 AM, Richard White wrote: > > [query with 6600 cfqueryparams taking 9 seconds vs. 1 for plain > SQL] > > > In understand that adding the cfqueryparam is adding approx 6600 > validations, h

Re: slow cfquery cfqueryparam?

2010-11-11 Thread Richard White
thanks, this solution worked great and is now processing at a steady 2 seconds > Hey, maybe try something like this? I haven't tested this, but it > should theoretically be faster > > > > > > > parentQuestionIDArray[i] & parentLevelArray[i])> > > > > > > > INSERT INTO

Re: CFMAIL Speed Issue

2010-11-11 Thread Russ Michaels
how do you generate the emails, is it a mailmerge from a database, in which case could it be the database query causing the problem ? On Thu, Nov 11, 2010 at 1:18 AM, Jake Churchill wrote: > > I'm having an odd issue with CFMAIL that comes and goes and I"m not seeing > a > reason for it. > > E

Re: CF Blog software

2010-11-11 Thread Russ Michaels
could we have an example ? On Thu, Nov 11, 2010 at 2:21 AM, Sean Corfield wrote: > > On Wed, Nov 10, 2010 at 8:39 AM, Adrocknaphobia > wrote: > > Of course, if this is CF9, you can replace all the createObject() calls > by > > using the 'new' keyword. > > Interesting. So if cfobject and createO