Re: Cf9 tabbed layouts cflayout

2009-10-21 Thread David Mineer
The temporary workaround that I found for this was to set a height value in the cflayout tag. You can see more details about how I fixed it in the comments on Sam's blog linked below. On Wed, Oct 14, 2009 at 3:01 PM, David Mineer min...@gmail.com wrote: Has anyone been able to workaround the

Re: javascript and coldfusion

2009-10-21 Thread James Holmes
And ExtJS explicitly provides connectors for whatever library you're using (e.g. jQuery) to keep the file size down. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/10/21 lists li...@commadelimited.com: jQuery explicitly offers compatibility mode for use

Re: javascript and coldfusion

2009-10-21 Thread Arsalan Tariq Keen
how can I use these connectors??? I am a newbie to Ajax :s -- From: James Holmes james.hol...@gmail.com Sent: Wednesday, October 21, 2009 2:03 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: javascript and coldfusion And ExtJS explicitly

Re: javascript and coldfusion

2009-10-21 Thread James Holmes
http://www.extjs.com/learn/Ext_Getting_Started#What_is_the_proper_include_order_for_my_JavaScript_files.3F mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/10/21 Arsalan Tariq Keen arsalk...@hotmail.com: how can I use these connectors??? I am a newbie to

(ot) Teamwork and comments in code

2009-10-21 Thread Dominic Watson
A team mate found a piece of old code from an old dev that we were (and still are) both very fond of; partly for pieces of code like this: cfif len(trim(searchquery)) AND Morgan has fixed this EQ Yes i have ... Thought I'd share it, Dominic

How to side step a long running process

2009-10-21 Thread Stefan Richter
Hi all, I'm working on an app which allows a user to upload a PDF file which I then convert to images using cfpdf / The conversion process can run a while, and I'd like to return a response to the user (Flex app) before the conversion is complete. Here's what I have so far: !--- construct

Re: How to side step a long running process

2009-10-21 Thread Rick Root
On Wed, Oct 21, 2009 at 7:49 AM, Stefan Richter ste...@flashcomguru.com wrote: The response is in this case not received by the Flex client until the PDF conversion is complete, resulting in a delay on the client before the upload is marked as completed. Right, because even if you could get

Re: Ok...I give...what's wrong with this code?

2009-10-21 Thread Rick Root
On Tue, Oct 20, 2009 at 4:39 PM, Billy Cox bi...@oldworldspices.com wrote: Wow, I was wondering how many more people could tell you why the code didn't work. it's pretty common, particularly in cases where the answer is obvious to a large number of people... with some mail clients, it's not

Re: Checking line 26 or 27

2009-10-21 Thread Claude Schneegans
The Invoice will not change This is absolutely true,... until the guy who said it will not change is changed ;-) ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

Re: javascript and coldfusion

2009-10-21 Thread Claude Schneegans
what are your experiences of the above and others? The best library I ever used is the one I developed myself over the years. 1º it contains about everything I need; 2º it does not contain anything I don't need; 3º it can be enhanced easily any time.

Re: Checking line 26 or 27

2009-10-21 Thread Damo Drumm
All i need it to do is, check if line 26 has text in it, and if so not to check line 27 this piece of code is doing part of that, only its checking Line 27 also and inputting whats in it also cfif previouslinenumber eq 26 cfset linenumber = 27 /cfif cfif (linenumber eq

RE: Ok...I give...what's wrong with this code?

2009-10-21 Thread Rick Faircloth
And it's certainly better to have 10 answers than none! :o) Rick -Original Message- From: Rick Root [mailto:rick.r...@gmail.com] Sent: Wednesday, October 21, 2009 9:02 AM To: cf-talk Subject: Re: Ok...I give...what's wrong with this code? On Tue, Oct 20, 2009 at 4:39 PM, Billy Cox

Re: How to side step a long running process

2009-10-21 Thread Dave Watts
How could I change this so that the response is sent first, and then the conversion kicked into life? The Flex client can later check the conversion status itself by polling the database. This is a perfect job for CFTHREAD. Put the PDF generation code within CFTHREAD. and simply return a job

Question about cloud computing

2009-10-21 Thread Rick Root
I work with a company called ClassCreator that has a hosted application for building high school reunion sites, and one of the more significant drains on CPU and CF threads is file uploads and image resizing. Currently, some file uploads go directly to our main server (ie, if the site

Re: How to side step a long running process

2009-10-21 Thread Rick Root
On Wed, Oct 21, 2009 at 9:50 AM, Dave Watts dwa...@figleaf.com wrote: How could I change this so that the response is sent first, and then the conversion kicked into life? The Flex client can later check the conversion status itself by polling the database. This is a perfect job for

Re: Question about cloud computing

2009-10-21 Thread Dave Watts
I don't know JACK about cloud computing, so I'm not even sure if it's possible to run something like CFX_ImageCR3 on the cloud. You can run anything you can install in an Amazon virtual machine image, including this. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf

T-SQL Stored procedure, In predicate in a Where clause

2009-10-21 Thread Scott Stewart
Hey all, Quick question, in T-SQL (MS SQL Server) can you put an in predicate in a Where clause inside a stored procedure? ie: SELECT x FROM table WHERE y IN (a,b,c) -- Scott Stewart IT Consultant/ColdFusion Developer 4405 Oakshyre Way Raleigh, NC 27616 (919)

REReplace Statment Help

2009-10-21 Thread Glyn Jackson
I am just going over some old code, I found the following... productPageName = Replace(#FORM.pageName#, ,-,All); productPageName = REReplace(#productPageName#,[.*+?^${}()|[\]/\\],,All); its seems like its create a page name but removed spaces and special characters i.e. this page! becomes

RE: Checking line 26 or 27

2009-10-21 Thread DURETTE, STEVEN J (ATTASIAIT)
I think the logic is a little off. You only need either line 26 or line 27. cfset invoicenumber = / cfif lineNumber is 26 and len(i) cfset invoiceNumber = trim(right(left(I, 74), 20)) / /cfif cfif previousLineNumber is 26 and not len(invoicenumber) cfset invoiceNumber =

Re: REReplace Statment Help

2009-10-21 Thread Scott Stroz
There are 2 separate thing being done with that code. 1. Its replacing spaces with a - 2. Its removing a bunch of 'special' characters. There really is no way to do this in one live of code. However, if this is something you woudl need to use in more than one place, you can easily put these

Re: T-SQL Stored procedure, In predicate in a Where clause

2009-10-21 Thread Eric Cobb
Yep. Anything you can run in a query, you can run in a Proc (plus more!). Thanks, Eric Cobb http://www.cfgears.com Scott Stewart wrote: Hey all, Quick question, in T-SQL (MS SQL Server) can you put an in predicate in a Where clause inside a stored procedure? ie:

RE: Checking line 26 or 27

2009-10-21 Thread DURETTE, STEVEN J (ATTASIAIT)
Wow... I just re-read what I wrote. I sounded like a jerk didn't I. Sorry about that didn't mean it that way. -Original Message- From: DURETTE, STEVEN J (ATTASIAIT) Sent: Wednesday, October 21, 2009 11:15 AM To: cf-talk Subject: RE: Checking line 26 or 27 I think the logic is a little

Re: REReplace Statment Help

2009-10-21 Thread Eric Cobb
If you want it in one line, just combine them: productPageName = Replace(REReplace(FORM.pageName,[.*+?^${}()|[\]/\\],,All), ,-,All); BTW, you don't the the #'s inside of a function unless the variable is in quotes. Thanks, Eric Cobb http://www.cfgears.com Glyn Jackson wrote: I am just

coldfusion to setup iis websites

2009-10-21 Thread Richard White
hi, is there a way to setup iis websites directly with cf code? thanks richard ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: coldfusion to setup iis websites

2009-10-21 Thread Dave Watts
hi, is there a way to setup iis websites directly with cf code? Yes, there are various APIs for IIS; they differ a bit between versions, I think. IIS often comes with Windows Script Host files that can be invoked with CFEXECUTE. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig

Re: coldfusion to setup iis websites

2009-10-21 Thread Matt Williams
This isn't for directly setting up web sites, but may point you in that direction. http://www.bryantwebconsulting.com/blog/index.cfm/2009/10/20/My-First-ColdFusion-Builder-Extension-Set-IIS-Root hi, is there a way to setup iis websites directly with cf code?

Re: Cf9 tabbed layouts cflayout

2009-10-21 Thread Tom Chiverton
On Wednesday 21 Oct 2009, David Mineer wrote: The temporary workaround that I found for this was to set a height value in the cflayout tag. You can see more details about how I fixed it in the comments on Sam's blog linked below. This is listed in the release notes isn't it ? -- Helping to

Re: (ot) Teamwork and comments in code

2009-10-21 Thread Nathan Strutz
Dominic, That's brilliant. Thanks for sharing it. I think there may be a special place on thedailywtf.com for it :) nathan strutz [Blog and Family @ http://www.dopefly.com/] [AZCFUG Manager @ http://www.azcfug.org/] [Twitter @nathanstrutz] On Wed, Oct 21, 2009 at 1:23 AM, Dominic Watson

Re: Checking line 26 or 27

2009-10-21 Thread Damo Drumm
No, I think im confusing you now :-) in some cases the invoice number is on line 26, and it other cases the invoice number is on line 27. all runs fine when the invoice number is on line 27 because theres nothing on line 26 to print so therfore it leaves it but its messing up when the invoice

RE: Checking line 26 or 27

2009-10-21 Thread DURETTE, STEVEN J (ATTASIAIT)
Yes, that is why my code set invoice = . Then set invoicenumber = line 26. Go to line 27 if invoicenumber has a length then continue on, if not set the invoice number to the value on line 27. Ok, so my code didn't work... Is something else changing invoice number? Can I see the whole loop. If

Re: Checking line 26 or 27

2009-10-21 Thread Phillip Vector
The main question here is.. What determines if it's on line 26 or 27? Is there something before it that you can check for (Like Invoice:)? Once you determine what causes it to be on 26 or 27, you can test for that logic, then read the appropriate line. it's kludgy, but it works. But like

Re: REReplace Statment Help

2009-10-21 Thread Glyn Jackson
Makes sense, thanks you. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327452

Re: Checking line 26 or 27

2009-10-21 Thread Damo Drumm
Just sent it to you now! nothings changing the invoice number Yes, that is why my code set invoice = . Then set invoicenumber = line 26. Go to line 27 if invoicenumber has a length then continue on, if not set the invoice number to the value on line 27. Ok, so my code didn't work... Is

Re: javascript and coldfusion

2009-10-21 Thread Paul Cormier
I concur with Judah's comments on Ext JS and JQuery. ExtJS for largish web apps, JQuery for enhancing a site. I've just posted a presentation I made last weekend titled Building RIAs using ExtJS 3 and ColdFusion which you may find useful.

Automatically starting ColdFusion when the server boots up.

2009-10-21 Thread Ian Skinner
We have multi-home ColdFusion running under Jrun4 installed on our 64 bit Solaris 10 boxes working with a 32 bit Apache 2.0 web server. When ever these boxes boot up (as happend after a recent power failure), we have to manually start all the ColdFusion instances. Neither the script that

Re: coldfusion to setup iis websites

2009-10-21 Thread Steve Bryant
This is my favorite solution: http://blog.1smartsolution.com/index.cfm/action:posts.entry/id:188/Small-change-to-Steve-Bryants-script-for-adding-a-Web-Site-to-IIS hi, is there a way to setup iis websites directly with cf code?

Re: coldfusion to setup iis websites

2009-10-21 Thread Gerald Guido
As an adjunct to Steve's contribution, I have a copy of an old hosting CP written in ASP 3 that I have used/hacked/liberally borrowed from over the years called Bankoi Bankoi WebHost Panel 1.0. IIRC It is written for IIS 6 on Server 2003 . I have adapted it to do all kinds of hosting type

Re: Question about cloud computing

2009-10-21 Thread Tony Bentley
Total technology awesomeness! Finally a way to integrate Cloud into Coldfusion applications. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: Question about cloud computing

2009-10-21 Thread Rick Root
Apparently, Railo runs nicely on the amazon cloud. I hear MySwitzerland.com uses Railo and runs on the cloud On Wed, Oct 21, 2009 at 2:51 PM, Tony Bentley t...@tonybentley.com wrote: Total technology awesomeness! Finally a way to integrate Cloud into Coldfusion applications.

After the fact: SQL Injection Scanner

2009-10-21 Thread Mosh Teitelbaum
All: A client called today letting me know that their server had been breached and that some malicious code had been uploaded to the site. After doing some research into the particular files that were uploaded, it turns out that the attack is also usually accompanied by a SQL Injection

RE: After the fact: SQL Injection Scanner

2009-10-21 Thread Mark Kruger
If the injection was the one that went around a few months ago - check out this post http://www.coldfusionmuse.com/index.cfm/2008/7/18/Injection-Using-CAST-And-A SCII There is a reverse stored procedure that can undo the damage down in the comments. Be sure and read the post and comments (and

rotating cfchart

2009-10-21 Thread Michael Dinowitz
ColdFusion MX used to have an attribute called rotate which would rotate a chart by 90 degrees. This was removed in ColdFusion 7 without a good replacement. I've seen many people talk about using a horizontalbar but this causes the bars to come from the side, not what I'm looking for. This

Re: rotating cfchart

2009-10-21 Thread Barney Boisvert
Can you post a link that isn't secured? On Wed, Oct 21, 2009 at 12:35 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: ColdFusion MX used to have an attribute called rotate which would rotate a chart by 90 degrees. This was removed in ColdFusion 7 without a good replacement. I've seen

Re: rotating cfchart

2009-10-21 Thread Michael Dinowitz
Sorry. Here it is: http://docs.google.com/View?id=dfhfz5dw_12c2cd2dfp Thanks -- Michael Dinowitz (http://www.linkedin.com/in/mdinowitz) ~| Want to reach the ColdFusion community with something they want? Let them know on the

RE: After the fact: SQL Injection Scanner

2009-10-21 Thread Andy Matthews
Mark's right. If you have the SQL injection code, you can essentially reverse engineer it and use it as a blueprint to fix the problems. andy -Original Message- From: Mosh Teitelbaum [mailto:mosh.teitelb...@evoch.com] Sent: Wednesday, October 21, 2009 2:10 PM To: cf-talk Subject:

Re: Problem with JSON Grid | ColdExt

2009-10-21 Thread Arsalan Tariq Keen
Come on guys... I need your help. I am including the code in the email body. This code is from the sample documents of ColdExt. My problem is, I am trying to display a grid inside a Ext.window. The grid has a search box in its toolbar. This grid never shows up at all and gives the following

Re: uncaught exception from firebug

2009-10-21 Thread John Pullam
It turns out that I was passing a value in a javascript call to a cfc where the argument type was numeric but the value going in was a null string. Somehow I was getting away with this on Coldfusion on my desktop but not at the production server. I converted the argument type to a string and

RE: After the fact: SQL Injection Scanner

2009-10-21 Thread Mosh Teitelbaum
Mark: Thanks for the reply. I think the title of my email may have been misleading in that I'm not positive it was a SQL Injection attack. Because of some malicious code I've found on the file system, code that would allow an attacker to make sweeping changes to the database, I'm concerned

RE: After the fact: SQL Injection Scanner

2009-10-21 Thread Mosh Teitelbaum
Andy: Unfortunately, I don't have the SQL Injection code. From what I can gather, the attack resulted in a whole bunch of copies of some PHP code that essentially gives the user access to both the file system and the database. I'm still working on getting the log files from the web host (FTP is

Re: After the fact: SQL Injection Scanner

2009-10-21 Thread Charles Sheehan-Miles
You might consider restoring a copy of a recent backup, then comparing against known records that shouldn't have changed (for example comment records) On Wed, Oct 21, 2009 at 4:04 PM, Mosh Teitelbaum mosh.teitelb...@evoch.comwrote: Andy: Unfortunately, I don't have the SQL Injection code.

RE: After the fact: SQL Injection Scanner

2009-10-21 Thread Mosh Teitelbaum
Charles: Thanks for the reply. Unfortunately, they don't know when the attack happened and their current hosting company has not been very attentive to backing up files or the database. It's also built on a CMS with page content changes made daily. Thanks. -- Mosh Teitelbaum evoch, LLC Tel:

Re: rotating cfchart

2009-10-21 Thread Leigh
ColdFusion MX used to have an attribute called rotate which would rotate a chart by 90 degrees. Try using a custom style. A quick test of the primaryYAxisPlacement attribute seems to achieve the rotate effect. cfsavecontent variable=style ?xml version=1.0 encoding=UTF-8? frameChart

Re: REReplace Statment Help

2009-10-21 Thread Mahcsig
also, if you are replace all non alpha-numeric characters you can do this:reReplace(arguments.txt, '[^[:alnum:].]', '-', 'all'); ~Mahcsig On Wed, Oct 21, 2009 at 8:57 AM, Glyn Jackson glyn.jack...@newebia.co.ukwrote: Makes sense, thanks you.

Can anyone see the problem here?

2009-10-21 Thread Douglas Brown
I think I have lost it and cannot seem to see the error of my ways.. Invalid CFML construct found on line 156 at column 28. ColdFusion was looking at the following text:pAdvertisements.zipcode CFIF IsDefined(form.zip) and form.zip IS NOT and IsDefined(form.radius) and form.radius

Re: Can anyone see the problem here?

2009-10-21 Thread Barney Boisvert
The three uses of APPLICATION.DBPRE are invalid; hash-wrapped juxtaposition is not valid for concatenation except within quoted strings. cheers, barneyb On Wed, Oct 21, 2009 at 2:20 PM, Douglas Brown mistobr...@gmail.com wrote: I think I have lost it and cannot seem to see the error of my

Re: Can anyone see the problem here?

2009-10-21 Thread Ian Skinner
Douglas Brown wrote: I think I have lost it and cannot seem to see the error of my ways.. Invalid CFML construct found on line 156 at column 28. ColdFusion was looking at the following text:pAdvertisements.zipcode CFIF IsDefined(form.zip) and form.zip IS NOT and

Re: How to side step a long running process

2009-10-21 Thread Stefan Richter
Excellent, thanks, Dave. So I don't have to worry about merging threads back together or stuff like that? Because that scared me when I read up on it. But kicking off one thread looks doable even to me :-) Rick, I had your model in mind too but wanted to avoid any kind of polling if

Re: Can anyone see the problem here?

2009-10-21 Thread s. isaac dealey
Try this: cfset ads = evaluate(#application.dbpre#Advertizements) / CFIF IsDefined(form.zip) and form.zip IS NOT and IsDefined(form.radius) and form.radius neq 0 and len(form.zip) eq 5 and ( listfind(valuelist(results.zip),ads.zipcode) or

AW: Question about cloud computing

2009-10-21 Thread Gert Franz
Rick, yes we do use Cloud Computing for several of our clients. Joe Rinehart showed MySwitzerland.com as an example at CFUnited in his keynote where we use CFVIDEO to process videos and convert them from one format into another. Next to that the guys from Straker Software are launching an on

Re: rotating cfchart

2009-10-21 Thread Michael Dinowitz
Leigh, Thanks. We were on the same track, though I was slower. :) I used the chart utility tool (c:\coldfusion8\lib\wc50.jar) to test out a few things till I came to the same place you suggested: frame primaryYAxisPlacement=Right/ Thanks again -- Michael Dinowitz On Wed, Oct 21, 2009 at 4:59

Issues using CFHTTP

2009-10-21 Thread Asaf Peleg
Hi everyone, My websites has different types of profiles that our end users log into that follows a simply hierarchy that goes as follows. Administrator - Super Users - End Users Where all Super Users are managed by the Administrator and each Super User manages a subset of all End Users.

Re: Issues using CFHTTP

2009-10-21 Thread Barney Boisvert
You're approaching this in the wrong way, I think. Ideally what you'd do is take your existing security mechanism (whatever it is) and add the ability to spoof another user. So any Administrator could hit the I want to spoof page where they'd see a list of Super Users to pick from. When they

CacheBox presentation 6pm EST tomorrow

2009-10-21 Thread s. isaac dealey
In case anyone missed the announcements, I thought I'd drop a quick note here to let everyone know that I'll be giving a presentation on the CacheBox framework tomorrow. CacheBox is a hot-swappable caching framework for ColdFusion with the intention of creating a standard for caching that I

RE: CacheBox presentation 6pm EST tomorrow

2009-10-21 Thread brad
CacheBox is a hot-swappable caching framework for ColdFusion So, I've been wondering-- what exactly qualifies code as hot-swappable? Does that mean that you can actually change it out for another framework while your app is running, or are you simply implying that it is stand-alone code that

Re: Question about cloud computing

2009-10-21 Thread Rick Root
Thanks Gert, that's good to know. Can you make a Windows AMI? :) We're not happy with any image resizer other than CFX_ImageCR3, which is a Windows DLL ... cfimage in CF8 didn't cut it and none of the java-based ones did either... On a side note, I have a cloud server now to play with... I was

Re: CacheBox presentation 6pm EST tomorrow

2009-10-21 Thread s. isaac dealey
CacheBox is a hot-swappable caching framework for ColdFusion So, I've been wondering-- what exactly qualifies code as hot-swappable? Does that mean that you can actually change it out for another framework while your app is running, or are you simply implying that it is stand-alone code

How to display LARGE amounts of Data in a Timely Fashion

2009-10-21 Thread Rick Colman
I need to query, retrieve and display a large amount of data; i.e. 4100 rows by 50 columns of numerics, to the browser screen. It is really slow, and after some testing, the bottleneck seems to be on the page that displays the data. The query is OK and connection is ok. But, the user has to