Re: ColdFusion 9 on Java 8

2015-03-12 Thread Dan G. Switzer, II
You may find the jump from CF9 to CF10/11 to require changes to your app. I know the change for us was not straightforward. Make sure you plan for an extensive QA cycle after upgrading. One of the biggest issues we ran into was with date/time conversions. We store everything in UTC. Adobe changed

Re: Advise in optimizing an application

2014-11-15 Thread Dan G. Switzer, II
You need to turn use some debugging tools to help you identify the key culprits. For example, if your query to check if a user has unsubscribed is taking 500ms, that alone would be the reason for the slowness. Either use the step debugger, a tool like FusionReactor or just turn on verbose

Re: Forms not passing data?

2014-09-21 Thread Dan G. Switzer, II
Are you posting the data via AJAX? There's a known issue w/IE9 and earlier w/AJAX POST operations, where if the server's keep alive timeout is lower than 60 seconds, it can cause IE problems and what you get is a request that doesn't post the data back to the server. -Dan On Sun, Sep 21, 2014

Re: CF 9 and Java 1.7 ?

2013-12-19 Thread Dan G. Switzer, II
We've been running 1.7.0_17 with great success. We recently tried moving to 1.7.0_45, but started to see some very bizarre issues in production so we rolled back to 17. Things have been fine since rolling back. The issue we saw was that functions being passed argument collections would

Re: Removing bullets from textarea

2013-11-05 Thread Dan G. Switzer, II
You'd need to convert the hexidecimal numbers to standard decimal numbers. The chr() does not work with hexidecimal values. -Dan On Tuesday, November 5, 2013, Joy Paulose wrote: John, I did use Replace function, but circle and square bullets still do not work. I tried all the following

Re: Mobile

2013-09-27 Thread Dan G. Switzer, II
John, I've looked into the following recently: - http://detectmobilebrowsers.com/ - In my testing, the code they give you works surprisingly well. It does not report tablets as mobile, which is the behavior I was looking for, but not be want you want. They basically give you some

Re: Mobile

2013-09-27 Thread Dan G. Switzer, II
width rather than user agent strings. Also the dev tools in Chrome has a neat little feature to allow you to specify a different user agent as well as screen size for testing on the desktop. Sent from my iPhone On Sep 27, 2013, at 4:13 PM, Dan G. Switzer, II dswit...@pengoworks.com

Re: CF10 Dev Edition...

2013-08-15 Thread Dan G. Switzer, II
That sounds like 3 requests from the same IP--which would be over the 2 request limit. 1. Your initial request to the .cfm page 2. The .cfm page makes an HTTP call to another page 3. That page calls in invokes CFC over HTTP -Dan On Tue, Aug 13, 2013 at 7:33 PM, Eric Roberts

Re: How can I view arguments in a CFC on-screen?

2013-04-01 Thread Dan G. Switzer, II
Use the step debugger. On Monday, April 1, 2013, Russ Michaels wrote: Dump them all to a file, then view the file. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Apr 1, 2013 6:36 PM, Rick

Re: CF 9.01 with Cumulative hot fix 4 won't work with Java 1.7

2013-03-27 Thread Dan G. Switzer, II
I had the same problem today, but followed Adobe's instructions and copied to the file to {ColdFusion-Home}\runtime\bin and that resolved the issue for me. -Dan On Wed, Mar 27, 2013 at 9:20 AM, DURETTE, STEVEN J sd1...@att.com wrote: All, I solved this one and wanted anyone else who might

Re: cfcontent changing name of file

2012-12-29 Thread Dan G. Switzer, II
Rob, The following should work: cfheader name=Content-disposition value=inline;filename=#downloadFile# / -Dan On Saturday, December 29, 2012, Rob Voyle wrote: Hi Russ creating objects is beyond my expertise and I couldn't get the sitepoint idea to work. Kept getting an object error.

Re: (ot) How compatible is SQLServer 2012 with SQL Server 2005 databases?

2012-09-14 Thread Dan G. Switzer, II
I don't think you will have any issues, but if your really worried about creating 2005 databases in 2012 that aren't compatible, why don't you just create a blank database in a 2005, then either take it offline and make a master copy or make a backup of it. You could then use that backup to

Re: X-Sendfile for IIS6

2012-08-09 Thread Dan G. Switzer, II
Anyone seen any working solutions to this problem for IIS6? -Dan On Mon, Aug 6, 2012 at 4:25 PM, David Sifford david.siff...@givainc.comwrote: (I hope it's ok, but I thought I'd post this here as we're looking for a way to serve files via the Web server, similar to Ben Nadel's example at

Re: Streaming PDF in CF8 / Performance Issues

2012-08-01 Thread Dan G. Switzer, II
Have you looked into an X-sendfile-mod for your web server? That will allow you to validate the request in CF, but pass the request back to the webserver to serve the file. The file does not have to be in a web accessible directory. -Dan On Wednesday, August 1, 2012, Jeff Chastain wrote: I

Re: Alternative for using SQL bind parameters

2012-06-08 Thread Dan G. Switzer, II
If you're on CF9+, then you can do what you want: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSe9cbe5cf462523a0693d5dae123bcd28f6d-7ffb.html You can also duplicate this concept in earlier versions of ColdFusion. I actually built an implementation for CF8 (probably would work in CF7 too)

Re: emailing a cfchart?

2012-02-20 Thread Dan G. Switzer, II
Dave, I haven't had a chance to check this, but does CF10 no longer provide the ability to generate static images for charts? It looks like everything is canvas or Flash-based, which is going to be problematic for emailing or using in a PDF--both of which I use. Any idea? -Dan On Monday,

Re: Dynamically Added Form Fields Not Submitted

2011-09-22 Thread Dan G. Switzer, II
I've seen this behavior with malformed HTML were the form tags are between table and tr tags. Check to make sure your HTML is valid. -Dan On Thursday, September 22, 2011, Robert Nurse rnu...@gmail.com wrote: Are you actually adding them as elements to the dom or just adding the html text to

Re: SAML Response to Google Apps

2011-08-09 Thread Dan G. Switzer, II
Are you running in the Dev version of CF? if so, it can add some HTML to the output stream that will corrupt any XML output. Are you sure the the code Google is seeing isn't getting altered? -Dan On Tuesday, August 9, 2011, Panning, Ryan ryan.pann...@district196.org wrote: Has anyone

Re: Out of memory error when creating Solr collection

2011-07-23 Thread Dan G. Switzer, II
records that changed since the batch process started and process those records again (which should be a relatively small number of records.) -Dan On Friday, July 22, 2011, Dan G. Switzer, II dswit...@pengoworks.com wrote: Eric, I'd return the records in like 50,000 row chunks and process them

Re: Out of memory error when creating Solr collection

2011-07-22 Thread Dan G. Switzer, II
Eric, I'd return the records in like 50,000 row chunks and process them that way. If you're using SQL Server 2005+ you can use CTEs to paginate the results (but most modern database have a way of doing pagination.) This will keep the memory footprint lower. -Dan On Friday, July 22, 2011,

Re: onSessionEnd not working as expected

2011-06-17 Thread Dan G. Switzer, II
=#Arguments.ApplicationScope.database.dsn# -Dan -- Dan G. Switzer, II dswit...@pengoworks.com http://blog.pengoworks.com/ █▀▀▀▀▀█ ▄▀ ▄█▄▄█ █▀▀▀▀▀█ █ ███ █ ▀███▀ █▀ █ ███ █ █ ▀▀▀ █ █▄ ▄ ▀██ █ ▀▀▀ â

Re: Best way to use cfschedule for large number of tasks

2011-06-01 Thread Dan G. Switzer, II
a separate instance for scheduled tasks. -Dan -- Dan G. Switzer, II dswit...@pengoworks.com http://blog.pengoworks.com/ █▀▀▀▀▀█ ▄▀ ▄█▄▄█ █▀▀▀▀▀█ █ ███ █ ▀███▀ █▀ █ ███ █ █ ▀▀▀ █ █▄ ▄ ▀██ █ ▀â

Re: Best way to use cfschedule for large number of tasks

2011-05-31 Thread Dan G. Switzer, II
. If it's important enough, you can find out how long each task is taking to execute, find which generated errors, re-queue events, etc. You can also really easily just fire off stuff in queue manually. -Dan -- Dan G. Switzer, II dswit...@pengoworks.com http://blog.pengoworks.com/ █▀▀▀â

Re: cfhttp response with non-english characters gets cut off

2011-05-18 Thread Dan G. Switzer, II
Morgan: Have you tried using cfprocessingdirective pageEncoding=utf-8 / to the page with your CFHTTP call? -Dan On Wed, May 18, 2011 at 11:35 AM, morgan l greyk...@gmail.com wrote: I'm running into a strange issue here. CF8: (8,0,1,195765) JVM: 1.6.0_16 Windows Server 2003 We're

Re: Using CFTHREAD on CF PRO

2011-05-17 Thread Dan G. Switzer, II
weird queuing issues. -Dan -- Dan G. Switzer, II dswit...@pengoworks.com http://blog.pengoworks.com/ █▀▀▀▀▀█ ▄▀ ▄█▄▄█ █▀▀▀▀▀█ █ ███ █ ▀███▀ █▀ █ ███ █ █ ▀▀▀ █ █▄ ▄ ▀██ █ ▀▀▀ █ ▀▀▀â

Re: Odd issue with Query

2011-04-08 Thread Dan G. Switzer, II
Charlie, If you're using MSSQL and cfqueryparam /, sometimes running a query directly in SSMS may lead to misleading information. I wrote a blog issue a while back that talks about one issue:

Re: SOT: SQL CTE update

2011-03-29 Thread Dan G. Switzer, II
Why bother with cursors or temp tables at all and just sort across Depth desc instead of Depth asc? -Dan On Tue, Mar 29, 2011 at 2:59 PM, Jason Durham jqdur...@gmail.com wrote: Nevermind... all I could see were nails. I'll create a temp table for the regular navigation and use that table

Re: SOT: SQL CTE update

2011-03-29 Thread Dan G. Switzer, II
Jason, That's why I said to sort the tree in using DESC instead of ASC on the Depth column: - - -*Drivers *(3) - -Software (2) -Support (1) Home (0) If you pull in descending order, you'll know the max depth from the first row, so if it's a matter of using the depth for indenting,

Re: What event specifically triggers OnApplicationStart?

2011-03-28 Thread Dan G. Switzer, II
One thing to keep in mind, if you do not have a *unique *ApplicationName on your server, then the variables could be shared w/another application--which is especially dangerous on shared hosting. I've seen people roll out an application w/a common ApplicationName like MainApp and have issues

Re: Database Lookup - Possible with CF?

2011-03-14 Thread Dan G. Switzer, II
I also posted already posted an example for Ian showing the jQuery/CF7 portion of the code: http://blog.pengoworks.com/index.cfm/2011/3/3/Easy-AJAX-using-ColdFusion-jQuery-and-CFCs The example does deal w/a struct, but converting data to a struct is very straightforward. I know he's seen

Re: Web Service Over SSL

2011-03-09 Thread Dan G. Switzer, II
Bobby, No, you still have to restart CF to get the JVM to recognize the cert. Are you looking for a new for a new SSL provider that has cheap SSL certs? -Dan On Wed, Mar 9, 2011 at 11:48 AM, Bobby Hartsfield bo...@acoderslife.comwrote: Are you saying it allows you to add certs to the

Re: Riaforge down?

2011-03-06 Thread Dan G. Switzer, II
Bobby, On Sunday, March 6, 2011, Bobby Hartsfield I sent an email to Ray a day or two ago but never heard back and now it is just worse. Raymond has been out of the country. I believe he's back in the States now, but I suspect he's probably a bit behind in emails. -Dan

Re: Database Lookup - Possible with CF?

2011-03-03 Thread Dan G. Switzer, II
Ian, I just posted a blog entry about how easy jQuery CF can handle using AJAX to populate a form: http://blog.pengoworks.com/index.cfm/2011/3/3/Easy-AJAX-using-ColdFusion-jQuery-and-CFCs -Dan On 3/3/2011 10:57 AM, Ian Vaughan wrote: Hi Dave I'm willing to give CF a go, even though here

Re: DaysInMonth issue

2011-03-01 Thread Dan G. Switzer, II
I suspect the actual issue is that the script is running after midnight in whatever timezone his servers in. So, instead of getting 28 for February, he's getting 31 for March. -Dan On Tue, Mar 1, 2011 at 11:27 AM, Robert Harrison rob...@austin-williams.com wrote: Have you tried doing

Re: Google Charts - QR Code - cfimage

2011-02-09 Thread Dan G. Switzer, II
JD, In my experience, the image functions generally want an extension for the input so the image libraries know how to handle the image. Since the URL doesn't have a .png in the filename, I think that's the problem. You may need to use CFHTTP to save the image as a PNG on a filesystem and then

Re: How do I get a save/download window using Ajax?

2010-12-27 Thread Dan G. Switzer, II
You can't download files like that via AJAX. What you can do, and what I've done in the past, is use an iframe to push the download to the browser. In the past I've used AJAX to check the server to see if the downloadable file is ready for download. I do this by creating a unique download token

Re: REQUEST.cfdumpinited

2010-11-30 Thread Dan G. Switzer, II
Sean, Why not just use the format attribute and dump the contents in plain text--which is a lot more lightweight for mail delivery: cfdump var=#x# format=text / -Dan On Tue, Nov 30, 2010 at 2:23 PM, Sean Henderson shender...@followup.netwrote: In CF9, setting REQUEST.cfdumpinited to true

Re: jQuery and cfcontent

2010-10-12 Thread Dan G. Switzer, II
On Tuesday, October 12, 2010, Dave Watts dwa...@figleaf.com wrote: You can't prompt the user to download a file if you're invoking the URL with standard jQuery AJAX calls. You have to basically just fetch the URL into a new or blank window. I'd recommend posting to an iframe. You can even

Re: cfoutput or cfloop? which is the more practical solution

2010-09-27 Thread Dan G. Switzer, II
If you're using MSSQL, you can use my generateDateTable for creating a dynamic date table which you can use: http://blog.pengoworks.com/index.cfm/2009/1/8/Dynamically-generating-a-table-of-dates-in-Microsoft-SQL-Part-Deux While a numbers table is more efficient if you're dealing with 1000s of

Re: struct lookup vs. query of queries

2010-07-13 Thread Dan G. Switzer, II
Depending on the size of the lookup table, I like using a struct to hold a reference to the row number, that way I quickly lookup the data in the query. Lookup = structNew(); Lookup[id] = row; then you can do: query.column[Lookup[id]]; -Dan On Tuesday, July 13, 2010, Michael Dinowitz

Re: Slow cfqueryparam IN clause on SQL Server 2008

2010-06-14 Thread Dan G. Switzer, II
I've seen this behavior with long lists. The solution I've used was to write a MSSQL UDF that would convert the param'ed value into a table variable--which strangley resolves the issue. -Dan On Monday, June 14, 2010, Matthew Lesko m.le...@verizon.net wrote: Wondered if anyone else had

Re: HTML 5, has anyone done anything more than played with it

2010-06-01 Thread Dan G. Switzer, II
The great thing (or not so great, depending on your view) is that older browsers will simply ignore the markup they don't understand. That allows you to gracefully fallback for older legacy browsers. -Dan On Tuesday, June 1, 2010, Sean Corfield seancorfi...@gmail.com wrote: On Tue, Jun 1,

Re: MSSQL Where In not working with variables

2010-04-20 Thread Dan G. Switzer, II
Paul, On Tue, Apr 20, 2010 at 2:31 PM, Paul Alkema paulalkemadesi...@gmail.comwrote: Eh, sorry. I've just found the solution to my own problem. Just for future reference, this is my solution. DECLARE @idList varchar(max) DECLARE @sql varchar(max) SET @idList = '1,2' SET @sql =

Re: DateDiff() and Minutes Wierdness

2010-04-14 Thread Dan G. Switzer, II
Brad, On Tuesday, April 13, 2010, Bradley Stone b...@nb9m.com wrote: All: Feeding DateDiff() dates which are more than 24 hours apart yields minutes: cfoutput #DateDiff(n, 2010-04-08 19:41:36.0, 2010-04-12 19:10:34.0)# /cfoutput Result: 5728 However, feeding DateDiff() dates which

Re: storing a cfinput inside of a variable

2010-04-08 Thread Dan G. Switzer, II
Steve, Is there anyway to use cfset or cfsavecontent to store a complete cfinput tag? i.e. cfset config.formFieldA = cfinput type=text name=fieldname value=// If I do a view source, I see it the code on my output page, but it won't render at all in the browser. If I try cfsavecontent

Re: select box result to show/hide another select box. jquery

2009-11-12 Thread Dan G. Switzer, II
Paul, You need to trigger the change method when you initialize your code: On Thu, Nov 12, 2009 at 11:07 AM, Paul Ihrig pih...@gmail.com wrote: script $(function(){ $(#prt_type).change(function () { var val = $(this).val();

Re: select box result to show/hide another select box. jquery

2009-11-12 Thread Dan G. Switzer, II
On Thu, Nov 12, 2009 at 11:08 AM, Paul Ihrig pih...@gmail.com wrote: so just to clarify. the show hide js works fine on its own, just doesn't check or see the default value from the existing data ~| Want to reach the

Re: kill cookie on browser close

2009-11-12 Thread Dan G. Switzer, II
Chad, Make sure you don't have any instances of IE open--including things that might use the IE underneath (like an RSS reader, etc.) -Dan On Thu, Nov 12, 2009 at 11:39 AM, Chad Gray cg...@careyweb.com wrote: Anyone notice that in IE this codes does not appear to work anymore? Firefox it

RE: Rich Text Editor - what really handles cut'n paste from Word?

2008-12-22 Thread Dan G. Switzer, II
Les, There's one group in particular that is going to cut and paste *everything* from Word, and even with the cleanup features and stuff in FCK, this is still problematic for the client. Yea, I know, Word produces some of the gawd-awful bloated ... uhh, never mind - it's terrible. So, I'm

RE: CF DATEDIFF Function

2008-11-04 Thread Dan G. Switzer, II
You should be able to do: fix(tomorrow) - fix(now()) = diff in days CF stores dates as a float, where the integer is the day value and the decimal values are represent the time. So, if you just round down and subtract the two dates you'll get the difference in whole days. -Dan -Original

RE: Ordered Argument names

2008-09-26 Thread Dan G. Switzer, II
Does anyone know how to make CF provide a list of the names of Arguments in the order provided and without using cfargument tag? StructKeyList/StructKeyArray returns an arbitrary order in CF8, and a random order every time in CF7. Using Array functions on the Arguments scope results in a random

RE: Ordered Argument names

2008-09-26 Thread Dan G. Switzer, II
You should be able to loop through the arguments array: cfset a = arrayNew(1) / cfloop index=i from=1 to=#arrayLen(arguments)# cfset arrayAppend(a, arguments[1]) / /cfloop cfdump var=#a# / Nope, that gives values not names (assuming 1 - i) Also, it doesn't come out in the same order each

RE: The Woes of CFThread -- going out of my mind!

2008-07-10 Thread Dan G. Switzer, II
Ian, Can anybody point out what is fundamentally wrong with this code. Such that it has at least a 50% chance of complete failure resulting in a non-responsive ColdFusion server that must be restarted. What gets me is that sometimes it works completely correct and produces all the desired

RE: The Woes of CFThread -- going out of my mind!

2008-07-10 Thread Dan G. Switzer, II
The memory usage of the PDF report generation is defiantly a problem. It is what we where trying to address with the usage of the thread tag. The idea being that by splitting the process into separate threads and throttle them down would allow the server time to clean up memory used in previous

RE: The Woes of CFThread -- going out of my mind!

2008-07-10 Thread Dan G. Switzer, II
Brian Kotek wrote: Also, Ian, how many threads are you creating here based on the query results? 10? 10,000? For this process 1,371. That is my basic question at this time -- What are the practical limits of the cfthread... Here is my simplest test case to date. I seems to show that there is

RE: The Woes of CFThread -- going out of my mind!

2008-07-10 Thread Dan G. Switzer, II
Ian, Here is my simplest test case to date. I seems to show that there is a limit, but I really don't know where it might be. cfloop from=1 to=1500 index=i cfthread action=run name=th_#i# threadID=#i# cfset thread.foobar = threadID cfset thread.calc = threadID *

RE: Time to First Byte

2008-04-08 Thread Dan G. Switzer, II
The TTFB can also be affected if you have a large number of requests that currently queued--you can see a spike in the TTFB in periods where the server is queueing lots of requests. This could happen during periods of Garbage Collection (if you have a lot of JVM memory that needs purging) or if

RE: Working download for CF801-Extensions-for-Eclipse.zip?

2008-04-06 Thread Dan G. Switzer, II
Judith, The link he lists for Eclipse is: http://download.macromedia. com/pub/coldfusion/8/eclipseextensions/CF801-Extensions-for-Eclipse. zip I see that that's the same URL as the one you listed... What I should have said, Dan, was that I'm having no trouble with the URL. The extensions

RE: qforms: transferring values from one select to another

2008-04-04 Thread Dan G. Switzer, II
i'm lost. i cannot pass both id and title using the valueList method? the populate() method is the closest i have got yet. its just that the values are not included in the form submit. You only need the value. When the containers are bound, qForms will search through the option/ tags to find

Working download for CF801-Extensions-for-Eclipse.zip?

2008-04-04 Thread Dan G. Switzer, II
Has anyone found a working download for CF801-Extensions-for-Eclipse.zip? http://download.macromedia.com/pub/coldfusion/8/eclipseextensions/CF801-Exte nsions-for-Eclipse.zip The url above is giving me a file not found. -Dan

RE: Working download for CF801-Extensions-for-Eclipse.zip?

2008-04-04 Thread Dan G. Switzer, II
-Extensions-for-Eclipse.zip? It downloads from macromedia.com? Really? Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Dan G. Switzer, II wrote: Has anyone found a working download for CF801

RE: Working download for CF801-Extensions-for-Eclipse.zip?

2008-04-04 Thread Dan G. Switzer, II
Has anyone found a working download for CF801-Extensions-for-Eclipse.zip? About half way down this page: http://www.adobe.com/support/coldfusion/downloads.html That's where the link I posted came from. -Dan ~| Adobe®

RE: qforms: transferring values from one select to another

2008-04-04 Thread Dan G. Switzer, II
Mike, great!! thanks for that. the following code works... objForm = new qForm(related_product_form); objForm.products_available.makeContainer(); objForm.products_available.dummyContainer = true; cfoutput objForm.products_selected.setValue('#valueList(getRelated.product_idfk)#'); /cfoutput my

RE: Working download for CF801-Extensions-for-Eclipse.zip?

2008-04-04 Thread Dan G. Switzer, II
Paul, Has anyone found a working download for CF801-Extensions-for-Eclipse.zip? http://download.macromedia.com/pub/coldfusion/8/eclipseextensions/CF801- Exte nsions-for-Eclipse.zip The url above is giving me a file not found. -Dan Must've been a typo in the file name. Here's the real URL:

RE: Flex Ajax Bridge jQuery...

2008-04-03 Thread Dan G. Switzer, II
Andy, Has anyone on this list done any work with the FABridge code provided by Adobe for use in working with Flex? I've got it running great when it's in a plain script block inside the body tag. But the second I put it inside a jQuery $(document).ready call, it dies (with no errors). I've tried

RE: qforms: transferring values from one select to another

2008-04-03 Thread Dan G. Switzer, II
Mike, sorry the yahoo mailing list seems to be down for qforms so thought someone on here may be able to help. Due to the amount of noise (aka spam) I have to approve first time posters first. The list isn't down, I just didn't get through to approving your message until this morning. have

RE: Flex Ajax Bridge jQuery...

2008-04-03 Thread Dan G. Switzer, II
... This is for an AIR app Dan...would it be alright to switch the document.ready over to a window.ready? -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 7:37 AM To: CF-Talk Subject: RE: Flex Ajax Bridge jQuery... Andy, Has anyone on this list done

RE: qforms: transferring values from one select to another

2008-04-03 Thread Dan G. Switzer, II
Mike, objForm = new qForm(related_product_form); objForm.products_available.makeContainer(); objForm.products_available.dummyContainer = true; objForm.products_available.makeContainer(products_selected); objForm.products_selected.makeContainer(products_available); stProductsSelected = new

RE: TOT - FireFox memory issues

2008-04-02 Thread Dan G. Switzer, II
Gerald, I have trimmed down my plug-in usage to the bare minimum of Firebug, the Web Developer tool bar, delicious and Google tool bar. All of which I use everyday, all day. One important note on FF. Just disabling a plug-in is not the same as uninstalling it. I've seen problems caused by

RE: How to obtain just the domain from a URL

2008-03-26 Thread Dan G. Switzer, II
Nate, Would I use a REGEX to achive this? Or some other method? Start with something like: http://www.popularmechanics.com/technology/military_law/4255750.html End up with: popularmechanics.com Example 2 Start: http://blogs.abcnews.com/politicalpunch/2008/03/dnc-official-cl.html End:

RE: Best way to order appearance of database content...

2008-03-13 Thread Dan G. Switzer, II
Rick, Say, I've got two agents in the db. First has display-order 10, second has display-order 20. A third agent is added who is to be displayed second, so is given the display-order number 15 in the form. When the form is submitted, the first agent retains number 10, the new second agent's

RE: Bluedragon = open source

2008-03-12 Thread Dan G. Switzer, II
From: Dave Watts [mailto:[EMAIL PROTECTED] See, that's exactly what i'm talking about. If another company adds a feature *before* Adobe does, then how is it not the responsibility of Adobe to maintain compatibility when they themselves add the same feature? Should the other company in

RE: qForms Question

2008-03-06 Thread Dan G. Switzer, II
I know I can do this in Javascript but I'm hesitant to roll my own when qForms is already validating the rest of the form (some 15 other required fields). Is there a way to do this in qForms? This should do what you want: http://www.pengoworks.com/qforms/ext/atLeastOne.htm You can

RE: qForms Question

2008-03-06 Thread Dan G. Switzer, II
It should be: // set the path to the qForms directory qFormAPI.setLibraryPath(/includes/qforms/lib/qforms/); // this loads all the default libraries qFormAPI.include(*); You've also got to include the function that on in the page on: http://www.pengoworks.com/qforms/ext/atLeastOne.htm -Dan

RE: qForms Question

2008-03-06 Thread Dan G. Switzer, II
You've also got to include the function that on in the page on: http://www.pengoworks.com/qforms/ext/atLeastOne.htm That code exists in /includes/qforms/lib/qforms/validation_addon.js that's why I thought forcing the include would work. (*scritch*) The qFormAPI.include(*) only loads

RE: Find/Replace for Eclipse

2008-03-05 Thread Dan G. Switzer, II
Aaron, The built in find tool is the one thing I cannot adjust myself too, it works fine on one page although I would really like to find all instances of something in that page and have a preview pane that I can click on to go to/from each instance. Perhaps I am just using it incorrectly, not

RE: qForms Question

2008-03-05 Thread Dan G. Switzer, II
Hatton, I've inherited a form that is using qForms for validation. The form includes a series of three checkboxes, all with the same name but different values, further down there is a textarea. The client has asked for a validation rule that requires either one of the checkboxes to be

RE: qForms Question

2008-03-05 Thread Dan G. Switzer, II
Tom, oForm.textareaName.validateAtLeastOne(checkboxName); That is extremely cool. I've been using qForms for a long time, but I didn't realize you could relate validations across elements that way. Thanks for the tip. It's not a perfect solution--since you need to attach the validation to one

RE: qForms Question

2008-03-05 Thread Dan G. Switzer, II
Tom, It's not a perfect solution--since you need to attach the validation to one of the fields, but that custom method will do the trick for those validate either a or b type of situations. Seems pretty good to me. So -- the method you specified will validate that EITHER one of the

RE: Relative path when instantiating a CFC?

2008-02-13 Thread Dan G. Switzer, II
I want to use a relative path when instantiating a CFC. Can this be done when using createObject()? Can it be done at all? There is also a UDF at cflib that allows relative paths. Though it does use coldfusion.runtime.TemplateProxy. So it might not work in CF8 if access to internal java

RE: Using cfinput causes form fields to show through?

2008-01-30 Thread Dan G. Switzer, II
William, I looked into this (see my other post) and the z-index for the input field gets set to 0, the autosuggestcontainer gets set to 9050 and the shadow to 9049. The problem lies in that IE6 and z-index don't get along (at all). IE6 literally resets all z-index to 0 once the page loads.

RE: POI, Excel and row limitations

2008-01-14 Thread Dan G. Switzer, II
Rick, I'm using the POI library to produce excel files.. specifically the library that is included with CF8. I don't think I installed any additional class files. Anyway, when I produce excel files larger than 65536 rows, they get cut off, and when I open the file in Excel I get File Error:

RE: Viviotech Outage

2008-01-04 Thread Dan G. Switzer, II
They are at least 3-4 hundred miles from northern california. It does look like Walla Walla is getting hit by bad weather too: http://www.klewtv.com/news/local/13059437.html -Dan ~| Adobe® ColdFusion® 8 software 8 is the most

RE: Viviotech Outage

2008-01-04 Thread Dan G. Switzer, II
I'm still getting the no connexion as well... http://weather.cnn.com/weather/forecast.jsp?locCode=ALWzipCode=99362 That's the forcast for Walla Walla I'm starting to get a little concerned as well. It's probably not weather related. My guess is there's a physical connection with their

RE: mssql pagination

2008-01-03 Thread Dan G. Switzer, II
Jonathon, Here's a stored procedure you can use in MSSQL 2k for pagination: http://blog.pengoworks.com/index.cfm/2006/6/19/MSSQL-2k-Stored-Procedure-for -Pagination It doesn't use #temp tables and it will only return the pages of data you're after. I've used it on tables with several millions

RE: CFHTTP and Caching

2007-12-24 Thread Dan G. Switzer, II
Ian, This is the error I am getting below even though weather_xml has been defined in the application.cfm page i.e. CFSET APPLICATION.weather_xml =XMLParse(cfhttp.FileContent) ERROR IS Element WEATHER_XML is undefined in APPLICATION. My application.cfm page is cfset

RE: Exclusive locks still producing duplicate values

2007-12-18 Thread Dan G. Switzer, II
Dave, We have have an issue here that I thought I had solved via locking and transactions, but it appears that the issue still exists. Basically, our clients go through an order entry process that produces a numbered requisition. The number is based upon a value that is stored in the database

RE: memory issues

2007-12-18 Thread Dan G. Switzer, II
Jonathon, Robi Sen has some excellent information on memory issues like you're experiencing: http://www.robisen.com/index.cfm?mode=entryentry=FD4BE2FC-55DC-F2B1-FED0717 CC1C7E0AF Are you using the default JRE? If so, you might consider upgrading to JRE SDK 1.4.2_13--which I believe is the

RE: Exclusive locks still producing duplicate values

2007-12-18 Thread Dan G. Switzer, II
cflock name=#session.st#ProcessLock timeout=20 type=exclusive I'm taking a bit of a guess here, but I think your name may be the problem. I'm assuming that by having a session variable in the name, each user will have a different name for the lock. Named locks are only locked from blocks with

RE: memory issues

2007-12-18 Thread Dan G. Switzer, II
1. User logs in and requests a file. 2. Application reads file, and builds a Query object out of it. Every line of the file is saved to the Query. 3. A SELECT statement is performed on the Query to only get the relevant data for that user (cached for 30 minutes) 4. Results of SELECT shown to

RE: memory issues

2007-12-18 Thread Dan G. Switzer, II
Jonathon, And while it definitely seems to slow down the memory consumption rate, it still doesn't appear to be freeing up any RAM. I did some test runs, loading some of the larger files. I saw the corresponding RAM increase, but never seeing that memory released. I plan on converting it all to

RE: Server performance problem since upgrading to CF8

2007-12-14 Thread Dan G. Switzer, II
Every since upgrading to CF8 I've been having a frustrating problem. After starting CF, it will run for a while (sometimes serveral hours, sometimes less than an hour) at about 1% - 3% in terms of processor load. (It's a 2 cpu - 4 core system.) Then, all of a sudden, the processor load will jump

RE: cfthread nor not? -- any best practice out there?

2007-12-14 Thread Dan G. Switzer, II
I'm using cffeed for a bunch of rss feeds (specifically 4 feeds for now). For code reuse, I have a component which has a function for passing parameters including source (as a structure). One approach (named A): Not using cfthread, execution seems reasonably fast.

RE: OT: Eclipse speed issue

2007-12-12 Thread Dan G. Switzer, II
Jake, Thanks for the suggestion. I changed my my heap to a min of 128 and a max of 512 in my eclipse.ini file. I'm not sure I really see a difference. I did, however, notice that Build Automatically was checked in the project settings. I unchecked that. I suspect that recompiling 25,000

RE: Encrypting/Decrypting XML

2007-12-05 Thread Dan G. Switzer, II
Scott, Is there a way to encrypt and decrypt XML on the fly. I'm building a small cms, and want to store the login information in an XML file. I need to be able to read An encrypted file, do the typical login/password check and leave the file encrypted on the server, to keep it away from prying

RE: Eclipse CFEclipse

2007-12-04 Thread Dan G. Switzer, II
Assuming you're an Eclipse/CFEclipse user, how would you respond to this question: Is Ecliple/CFEclipse overkill for an independent developer, who never has to worry about checking code in or out? I am having some trouble keeping my development versions of sites synced with my production

RE: AJAX Caching

2007-11-29 Thread Dan G. Switzer, II
Ric, I am building a little app in CF and using AJAX. (not CFAJAX) Basically it has 2 types of functions. The first returns a CF created table to display the data list. The second returns a CF created list, that I break up in javascript to populate my form. I am having an issue that all the

RE: CF8 and CFmail, sending duplicate emails

2007-11-27 Thread Dan G. Switzer, II
Will, We recently upgraded our server to CF8. We have a number of clients who use emailing tools to send out emails to opt in lists. One of these clients did a mailout last week to a couple of lists, and it would appear that the emails all went at least twice to every member of the list. The

RE: Updating to Eclipse 3.3...

2007-11-27 Thread Dan G. Switzer, II
from 3.2 to 3.3; I think you have to simpy install 3.3. Unfortunately, I don't know how to preserve or import settings. File, Export, General, Settings. My personal experience is it's just easier to rebuild. I've tried the export settings, but it's caused me problems in the past. I think the

RE: Updating to Eclipse 3.3...

2007-11-27 Thread Dan G. Switzer, II
Andy, What settings are you talking about? Is there a single file, or a folder? Do I have to reinstall all my plugins as well? I'd recommend just extracting Eclipse v3.3 into a new folder and then re-installing the plug-ins (as I stated in another thread.) I think in the long run it'll make

  1   2   3   4   5   6   7   >