RE: image dimensions on mapped drive file
Does ColdFusion have access to that drive? Can you generate a list of files, and their permissions with cfdirectory for example? andy -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Monday, August 16, 2010 12:31 PM To: cf-talk Subject: image dimensions on mapped drive file I need to get the dimensions of some images. In my local environment, my wwwroot is located on a mapped drive at: \\awesome-pc\inetpub\wwwroot\ It is also mapped on the server as: z:\wwwroot\ I found a couple of methods to get image dimensions, and am using the one from this thread: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091 http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:33091 I am getting: Can't read input file! I can go to the image on the server by putting in the path directly, so it is accessable, but for some reason cf can't see it. I know there is an issue with null credentials on network assets, so everything is starting under a user account. How can I get this to work? Passing: \\awesome-pc\inetpub\wwwroot\domain_com\includes\www_domain_com\dev\images\p roducts\image.jpg or z:\wwwroot\domain_com\includes\www_domain_com\dev\images\products\image.jpg cffunction name=ImageSize returnType=struct access=public cfargument name=FileLoc type=string required=Yes cfset jFileIn = createObject(java,java.io.File).init(ARGUMENTS.FileLoc) cfset ImageInfo = StructNew() cfset ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn) cfset ImageInfo.ImgWidth = ImageObject.getWidth() cfset ImageInfo.ImgHeight = ImageObject.getHeight() cfreturn ImageInfo /cffunction -- Regards, Matthew Smith ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336302 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Preventing use of remote method by other sites
You're not being a jerk. Those are all good points. I doubt anyone's going to care to mess with it. Even if they do, the most that will happen is that one site's usability stats get inflated. andy -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Monday, August 16, 2010 12:41 PM To: cf-talk Subject: Re: Preventing use of remote method by other sites Which can also be done via CFHTTP as well. ;) Not trying to be a jerk here - but the fact is, there is no (afaik) 100% way to say that a URL is ajax only. On Mon, Aug 16, 2010 at 11:51 AM, Andy Matthews li...@commadelimited.com wrote: Right. I know that. Good point though. I suppose I could get our JS guy to also pass in a session id. Then I could compare that with the actual session ID for the user and go from there. -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Monday, August 16, 2010 11:42 AM To: cf-talk Subject: Re: Preventing use of remote method by other sites Sorry - what? Oh - are you asking if I would know to use that vector? If I run your site and see a request made via XHR to foo.cfm, and then I try to run it myself in another tab and get blocked, then yes, I would consider that. And I'm a Script Kiddy Hacker so I assume the real guys would try it too. Shoot - I almost always try the URLs I see in Firebug/Chrome Dev tools. I'm not trying to be malicious of course. Just poking around. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336303 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Preventing use of remote method by other sites
I have a method that I'm exposing remotely. We'll be using AJAX calls to insert usability stats about a new application. I'm working through the code when I realize that since it's remote access, anyone from any site could post to it and skew our results. I'm wondering what's the best way to prevent access to this URL from any other site, or code. My first thought was to compare the current URL, dev1 for example, to the URL the request was made from, or perhaps the IP address. But I'm not sure how to get that information. Anyone have ideas? andy matthews ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336259 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Preventing use of remote method by other sites
I have a method that I'm exposing remotely. We'll be using AJAX calls to insert usability stats about a new application. I'm working through the code when I realize that since it's remote access, anyone from any site could post to it and skew our results. I'm wondering what's the best way to prevent access to this URL from any other site, or code. My first thought was to compare the current URL, dev1 for example, to the URL the request was made from, or perhaps the IP address. But I'm not sure how to get that information. Anyone have ideas? andy matthews ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336260 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Preventing use of remote method by other sites
Oooh. That's a good idea. Since we're using it for AJAX, then make it so that it can ONLY be used as AJAX, which would prevent other sites from using it because of the cross site scripting. Great idea Tony, thanks! -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Friday, August 13, 2010 2:55 PM To: cf-talk Subject: Re: Preventing use of remote method by other sites I use a cfc that checks to see if the method being called is from within the domain, is indeed ajax and that the method is indeed is accessed remotely, otherwise abort the request. If you are doing cross site requests, pass a unique key in your form. Is it ajax? cffunction name=isAjax access=private returntype=boolean output=false !--- all of the user management requests are going to come via ajax within the domain. if a request is not from this site and not ajax, abort the request run this check on any of the remote methods --- cfscript requestHeaders = getHTTPRequestData().headers; if(not StructKeyExists(requestHeaders, X-Requested-With)){ return false; } else if(StructFind(requestHeaders,X-Requested-With) neq XMLHttpRequest){ return false; } else{ return true; } /cfscript /cffunction Called on init: cfparam name=url.method default= cfscript accessRemote = false; cfcname = getmetadata(this); for(i=1;i lte arrayLen(cfcname.FUNCTIONS);i++){ fname = cfcname.FUNCTIONS[i]; if(fname.name eq url.method fname.access eq remote){ accessRemote = true; break; } } if(not isAjax() and not accessRemote){ abort();//this is a simple cfabort function for MX } /cfscript On Fri, Aug 13, 2010 at 11:17 AM, Andy Matthews li...@commadelimited.comwrote: I have a method that I'm exposing remotely. We'll be using AJAX calls to insert usability stats about a new application. I'm working through the code when I realize that since it's remote access, anyone from any site could post to it and skew our results. I'm wondering what's the best way to prevent access to this URL from any other site, or code. My first thought was to compare the current URL, dev1 for example, to the URL the request was made from, or perhaps the IP address. But I'm not sure how to get that information. Anyone have ideas? andy matthews ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336269 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Preventing use of remote method by other sites
Works perfectly Tony. I simplified the conditional tho' cfif StructKeyExists(headers,'X-Requested-With') AND headers['X-Requested-With'] EQ 'XMLHttpRequest' /cfif -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Friday, August 13, 2010 2:55 PM To: cf-talk Subject: Re: Preventing use of remote method by other sites I use a cfc that checks to see if the method being called is from within the domain, is indeed ajax and that the method is indeed is accessed remotely, otherwise abort the request. If you are doing cross site requests, pass a unique key in your form. Is it ajax? cffunction name=isAjax access=private returntype=boolean output=false !--- all of the user management requests are going to come via ajax within the domain. if a request is not from this site and not ajax, abort the request run this check on any of the remote methods --- cfscript requestHeaders = getHTTPRequestData().headers; if(not StructKeyExists(requestHeaders, X-Requested-With)){ return false; } else if(StructFind(requestHeaders,X-Requested-With) neq XMLHttpRequest){ return false; } else{ return true; } /cfscript /cffunction ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336273 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Preventing use of remote method by other sites
But crossdomain policies would prevent it from being accessed via AJAX right? andy -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Friday, August 13, 2010 3:33 PM To: cf-talk Subject: Re: Preventing use of remote method by other sites Any time! Keep in mind that anyone can call your method with Ajax so you still need to verify the request (localhost or otherwise) On Fri, Aug 13, 2010 at 1:17 PM, Andy Matthews li...@commadelimited.comwrote: Oooh. That's a good idea. Since we're using it for AJAX, then make it so that it can ONLY be used as AJAX, which would prevent other sites from using it because of the cross site scripting. Great idea Tony, thanks! -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Friday, August 13, 2010 2:55 PM To: cf-talk Subject: Re: Preventing use of remote method by other sites I use a cfc that checks to see if the method being called is from within the domain, is indeed ajax and that the method is indeed is accessed remotely, otherwise abort the request. If you are doing cross site requests, pass a unique key in your form. Is it ajax? cffunction name=isAjax access=private returntype=boolean output=false !--- all of the user management requests are going to come via ajax within the domain. if a request is not from this site and not ajax, abort the request run this check on any of the remote methods --- cfscript requestHeaders = getHTTPRequestData().headers; if(not StructKeyExists(requestHeaders, X-Requested-With)){ return false; } else if(StructFind(requestHeaders,X-Requested-With) neq XMLHttpRequest){ return false; } else{ return true; } /cfscript /cffunction Called on init: cfparam name=url.method default= cfscript accessRemote = false; cfcname = getmetadata(this); for(i=1;i lte arrayLen(cfcname.FUNCTIONS);i++){ fname = cfcname.FUNCTIONS[i]; if(fname.name eq url.method fname.access eq remote){ accessRemote = true; break; } } if(not isAjax() and not accessRemote){ abort();//this is a simple cfabort function for MX } /cfscript On Fri, Aug 13, 2010 at 11:17 AM, Andy Matthews li...@commadelimited.comwrote: I have a method that I'm exposing remotely. We'll be using AJAX calls to insert usability stats about a new application. I'm working through the code when I realize that since it's remote access, anyone from any site could post to it and skew our results. I'm wondering what's the best way to prevent access to this URL from any other site, or code. My first thought was to compare the current URL, dev1 for example, to the URL the request was made from, or perhaps the IP address. But I'm not sure how to get that information. Anyone have ideas? andy matthews ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336277 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Preventing use of remote method by other sites
Okay. Phew. This is a single CFC available on our site. andy -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Friday, August 13, 2010 4:17 PM To: cf-talk Subject: Re: Preventing use of remote method by other sites Yes you are right. I just wasn't sure if you were building an API or something that would require public access. On Fri, Aug 13, 2010 at 1:48 PM, Andy Matthews li...@commadelimited.comwrote: But crossdomain policies would prevent it from being accessed via AJAX right? andy -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Friday, August 13, 2010 3:33 PM To: cf-talk Subject: Re: Preventing use of remote method by other sites Any time! Keep in mind that anyone can call your method with Ajax so you still need to verify the request (localhost or otherwise) On Fri, Aug 13, 2010 at 1:17 PM, Andy Matthews li...@commadelimited.comwrote: Oooh. That's a good idea. Since we're using it for AJAX, then make it so that it can ONLY be used as AJAX, which would prevent other sites from using it because of the cross site scripting. Great idea Tony, thanks! -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Friday, August 13, 2010 2:55 PM To: cf-talk Subject: Re: Preventing use of remote method by other sites I use a cfc that checks to see if the method being called is from within the domain, is indeed ajax and that the method is indeed is accessed remotely, otherwise abort the request. If you are doing cross site requests, pass a unique key in your form. Is it ajax? cffunction name=isAjax access=private returntype=boolean output=false !--- all of the user management requests are going to come via ajax within the domain. if a request is not from this site and not ajax, abort the request run this check on any of the remote methods --- cfscript requestHeaders = getHTTPRequestData().headers; if(not StructKeyExists(requestHeaders, X-Requested-With)){ return false; } else if(StructFind(requestHeaders,X-Requested-With) neq XMLHttpRequest){ return false; } else{ return true; } /cfscript /cffunction Called on init: cfparam name=url.method default= cfscript accessRemote = false; cfcname = getmetadata(this); for(i=1;i lte arrayLen(cfcname.FUNCTIONS);i++){ fname = cfcname.FUNCTIONS[i]; if(fname.name eq url.method fname.access eq remote){ accessRemote = true; break; } } if(not isAjax() and not accessRemote){ abort();//this is a simple cfabort function for MX } /cfscript On Fri, Aug 13, 2010 at 11:17 AM, Andy Matthews li...@commadelimited.comwrote: I have a method that I'm exposing remotely. We'll be using AJAX calls to insert usability stats about a new application. I'm working through the code when I realize that since it's remote access, anyone from any site could post to it and skew our results. I'm wondering what's the best way to prevent access to this URL from any other site, or code. My first thought was to compare the current URL, dev1 for example, to the URL the request was made from, or perhaps the IP address. But I'm not sure how to get that information. Anyone have ideas? andy matthews ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336280 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Millions of Coldfusion sites need to apply patches
If you google for inurl:*.cfm You get 259 million results. andy -Original Message- From: Will Tomlinson [mailto:w...@wtomlinson.com] Sent: Wednesday, August 11, 2010 9:12 PM To: cf-talk Subject: Re: Millions of Coldfusion sites need to apply patches Richard Brain of ProCheckUp commented ââ¬ÅThis is a trivial attack which can be performed easily by a competent engineer; ProCheckUp thanks Adobe for consciously working with us to produce a patch which fixes the traversal attack. By performing a simple Google search for inurl:index.cfm, it was found that over 80 million examples of sites using Coldfusion. Gee, I thought ColdFusion was dead. Guess not Will ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: output of my 404.cfm
Is there by chance an index.html file in that directory? Or any other file that IIS or Apache might be looking for first? andy -Original Message- From: Matthew P. Smith [mailto:m...@smithwebdesign.net] Sent: Tuesday, August 10, 2010 12:39 PM To: cf-talk Subject: output of my 404.cfm I am trying to serve pages using both onMissingTemplate and a custom 404 page. This works: domain.com/not-there/index.cfm It seems to properly be using the onMissingTemplate method. This does not: domain.com/not-there/ From the debug, I can see that: CGI.SCRIPT_NAME=/404.cfm However, in the execution time, the template does not show: *Execution Time* *Total Time* *Avg Time**Count* *Template*0 ms 0 ms1 CFC[ \\awesome-pc\inetpub\wwwroot\domain_com\Application.cfc | onRequest(/404.cfm) ] from \\awesome-pc\inetpub\wwwroot\domain_com\Application.cfc 0 ms0 ms 1CFC[ \\awesome-pc\inetpub\wwwroot\domain_com\Application.cfc | onRequestStart(/404.cfm) ] from \\awesome-pc\inetpub\wwwroot\domain_com\Application.cfc *5 ms* *STARTUP, PARSING, COMPILING, LOADING, SHUTDOWN* *5 ms* *TOTAL EXECUTION TIME* At this point, I am just trying to display the output 404 called. I have made sure it is within cfoutput tags, and verified that cfsetting enablecfoutputonly=no is set under onRequestStart. Not sure what is going on. As I stated in my other post, I am just transitioning to Application.cfc, so I am sure it has to do with that. 404.cfm was working properly with Application.cfm. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336166 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Suppressing whitespace from CFCs
The general consensus is that CFCs should be used primarily to encapsulate logic, and data retrieval. If you want to output something it really should be in a CFM page, or a custom tag. andy -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Thursday, August 05, 2010 9:14 AM To: cf-talk Subject: Suppressing whitespace from CFCs I've moved output function into CFC's; thus I'm using output=true. Only problem is the CFC is outputting whitespace where all the logic is now. How can I suppress the white space in an output CFC? Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5343 (20100805) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336030 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) post to Flex/AIR lists
Probably from me. No one uses that list since all AIR development overlaps into one of the other lists. -Original Message- From: Bryan Stevenson [mailto:br...@electricedgesystems.com] Sent: Thursday, August 05, 2010 11:41 AM To: cf-talk Subject: Re: (ot) post to Flex/AIR lists Thanks againand yep there is one (last post Dece 15, 2008 hehe). Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. Please consider the environment before printing this e-mail ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336045 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9 Developer on Windows 7 Home Premium?
As I understand it, when you upgrade from one version of Windows 7 to another, all it's really doing is unlocking features already on your machine. andy -Original Message- From: Matt Robertson [mailto:websitema...@gmail.com] Sent: Tuesday, August 03, 2010 3:01 PM To: cf-talk Subject: Re: CF9 Developer on Windows 7 Home Premium? Beautiful. Thank you, Dave. You mean upgrade Windows, right? I'm still running all my office stuff on XP downgrades. Stayed clean away from Vista except for my home system which is running Vista 64 On Tue, Aug 3, 2010 at 12:46 PM, Dave Watts dwa...@figleaf.com wrote: I'm looking at buying a couple of laptops that will get some light development use. The trouble I am seeing is every laptop whose feature set I am interested in is running Win7 Home Premium. If I am running CF9 developer on them and would only be using the development web server, will CF9 run on it or will the installer kick me out when it sees the Win version I'd be running? CF 9 will run just fine on that, but if you later decide you want to upgrade to Professional or Ultimate, you can actually do that very easily online. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335957 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HTML spec for mobile devices
You might also head over to Dan Vega's blog. He just gave a mobile session at CFUnited that was really well attended: http://www.danvega.org/blog/ -Original Message- From: Marc Funaro [mailto:subscripti...@advantex.net] Sent: Monday, August 02, 2010 9:14 AM To: cf-talk Subject: SOT: HTML spec for mobile devices I'm looking for a basic web resource coover what would be considered best practices for building a website that will be viewed on mobile devices... a general reference guide/best practices document, that might cover (x)html, css, etc... I can't seem to find the right keywords to Google with. The last mobile xml/html spec I could find was from 2001. I knwo i could just wing it and use basic html and go from there, but I'd rather follow at least a proposed standard, if there is one. Thanks for any links you can provide! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335924 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: jQuery calling cfc question
Richard... Do you have a demo online that we can take a look at? It's probably something really small. You might also try doing a writeDump of the arguments scope, and an abort in your CFC. That way you can make sure you're getting the correct arguments. You can also dump the results of the query variable to see what IT returns. andy -Original Message- From: Scott Stewart [mailto:webmas...@sstwebworks.com] Sent: Thursday, July 29, 2010 9:50 AM To: cf-talk Subject: Re: jQuery calling cfc question Richard, I blogged about this process a while back http://www.sstwebworks.com/entry.cfm?entry_id=F90D175E-EC22-10E6-52381ABD824 654FA hope this helps On Thu, Jul 29, 2010 at 10:45 AM, Richard Strong richard.str...@gmail.com wrote: I'm really drawing a blank here. I'm sure i have done this before but for some reason it doesn't work. Simple form, one field with id=name and a Save button which should update the name in the db. The cfc exists, the method is set to remote, but nothing happens, in firebug I see the call and no error, but the info is not updated in the db. What's strange is that even if I use a method that doesn't exist there is no error. I have tried putting the cfc in the same folder with the calling cfm page and no luck. It's driving me nuts. $(function() { $(#save).click(function(){ var userName = $(#name).val (); $.get('../cfc/User.cfc?method=save', {name:userName}, function(data){ location.reload(); }); }); }); and this is the method: remote function save (string name) { var q = new com.adobe.coldfusion.query(); q.setDatasource (europa); q.setSQL (update user set name : arg); q.addParam (name=arg, value=#arguments.name#, cfsqltype=cf_sql_varchar); var query = q.execute(); return; } BTW I have tried with reagular tag cfc too Thanks Richard ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335849 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Need a west coast (US) based CF host
Can I throw out a suggestion? Consider a trigger on the database that updates a new record and changes it's timestamp when it's inserted or updated? Then you don't need to migrate. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Thursday, July 29, 2010 2:52 PM To: cf-talk Subject: Re: Need a west coast (US) based CF host Nothing against Railo. My main project right now is a Railo site (altho we're keeping it CF9 compatible) with a mySQL database. Works a treat. I just don't know this other site well enough to be able to say, yeah, let's jump over to Railo and convert your MS SQL database to mySQL :) There's also a flex-based admin area and I'm not sure how well that would work. At this point in time... probably not something that the client would want to undertake (all of the UAT that would be necessary to ensure that all facets of the site still function properly). They're a small non-profit and I don't think they have the manpower to even do that, nor do I think they'd want to pay me to take that on. Appreciate the feedback tho. I'd heard Alurium's name mentioned before. Their prices do look appealing. Just not a good fit for this particular client right now :\ On Thu, Jul 29, 2010 at 12:40 PM, Scott Stewart webmas...@sstwebworks.comwrote: Charlie, I think they are exclusively MySQL... I ported over an implementation of blogCFM and it works fine, Railo's pretty complete as far as tag support goes.. On Thu, Jul 29, 2010 at 3:29 PM, Charlie Griefer charlie.grie...@gmail.com wrote: Hey Scott: Hmm... not sure that the current site will run under Railo. Also, their current database is SQL Server (I probably should have mentioned that). Looks like Alurium is exclusively Railo/mySQL (?) Thanks, Charlie On Thu, Jul 29, 2010 at 12:12 PM, Scott Stewart webmas...@sstwebworks.comwrote: Charlie, I think Alurium is located on the West Coast, plus they're cheap and you can run CFML (Railo) http://www.alurium.com On Thu, Jul 29, 2010 at 3:09 PM, Charlie Griefer charlie.grie...@gmail.com wrote: Hey all... I know this topic (can somebody recommend a CF host) comes up frequently... I hate to bring it up again, but I must :) I have a client that needs to be on shared hosting (they don't have the funds for VPS, unfortunately) on a server with the clock set to PST. They're a company that's physically based in CA... recently moved hosts to an east-coast based company, and now timestamps are off by 3 hours when they add events. According to the previous developer, they're using a calendaring system (specifically, a particular version of a calendaring system) that isn't set up to handle time zone differences. He's told me that trying to update the code to handle this would open a whole new can of worms. I've explored the options, and the path of least resistance seems to be to relocate the site to a server based on the west coast. Or at the very least, a server whose clock is set to PST. A quick google turned up Illuminated Hosting ( http://www.illuminatedhosting.com/), but I'm not familiar with them. Does anybody know of this company? Or of any others that have servers set to pacific time? Thanks! Charlie -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335869 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Need a west coast (US) based CF host
Awesome. Sometimes it's just a matter of looking at it from a different perspective. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Thursday, July 29, 2010 3:34 PM To: cf-talk Subject: Re: Need a west coast (US) based CF host Hey Andy: I ran that past the previous developer and he said he thinks that could work. I'll run it past the client and see if they want to invest the time in me identifying which fields would need the trigger, or if they'd rather just move the site and be done with it :) Thanks for the suggestion. On Thu, Jul 29, 2010 at 12:58 PM, Andy Matthews li...@commadelimited.comwrote: Can I throw out a suggestion? Consider a trigger on the database that updates a new record and changes it's timestamp when it's inserted or updated? Then you don't need to migrate. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Thursday, July 29, 2010 2:52 PM To: cf-talk Subject: Re: Need a west coast (US) based CF host Nothing against Railo. My main project right now is a Railo site (altho we're keeping it CF9 compatible) with a mySQL database. Works a treat. I just don't know this other site well enough to be able to say, yeah, let's jump over to Railo and convert your MS SQL database to mySQL :) There's also a flex-based admin area and I'm not sure how well that would work. At this point in time... probably not something that the client would want to undertake (all of the UAT that would be necessary to ensure that all facets of the site still function properly). They're a small non-profit and I don't think they have the manpower to even do that, nor do I think they'd want to pay me to take that on. Appreciate the feedback tho. I'd heard Alurium's name mentioned before. Their prices do look appealing. Just not a good fit for this particular client right now :\ On Thu, Jul 29, 2010 at 12:40 PM, Scott Stewart webmas...@sstwebworks.comwrote: Charlie, I think they are exclusively MySQL... I ported over an implementation of blogCFM and it works fine, Railo's pretty complete as far as tag support goes.. On Thu, Jul 29, 2010 at 3:29 PM, Charlie Griefer charlie.grie...@gmail.com wrote: Hey Scott: Hmm... not sure that the current site will run under Railo. Also, their current database is SQL Server (I probably should have mentioned that). Looks like Alurium is exclusively Railo/mySQL (?) Thanks, Charlie On Thu, Jul 29, 2010 at 12:12 PM, Scott Stewart webmas...@sstwebworks.comwrote: Charlie, I think Alurium is located on the West Coast, plus they're cheap and you can run CFML (Railo) http://www.alurium.com On Thu, Jul 29, 2010 at 3:09 PM, Charlie Griefer charlie.grie...@gmail.com wrote: Hey all... I know this topic (can somebody recommend a CF host) comes up frequently... I hate to bring it up again, but I must :) I have a client that needs to be on shared hosting (they don't have the funds for VPS, unfortunately) on a server with the clock set to PST. They're a company that's physically based in CA... recently moved hosts to an east-coast based company, and now timestamps are off by 3 hours when they add events. According to the previous developer, they're using a calendaring system (specifically, a particular version of a calendaring system) that isn't set up to handle time zone differences. He's told me that trying to update the code to handle this would open a whole new can of worms. I've explored the options, and the path of least resistance seems to be to relocate the site to a server based on the west coast. Or at the very least, a server whose clock is set to PST. A quick google turned up Illuminated Hosting ( http://www.illuminatedhosting.com/), but I'm not familiar with them. Does anybody know of this company? Or of any others that have servers set to pacific time? Thanks! Charlie -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335873 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Windows File Replication: Suggestions?
If you can wait for DFS I recommend that. We use that method on our systems to great effect. andy -Original Message- From: Dominic Watson [mailto:watson.domi...@googlemail.com] Sent: Wednesday, July 28, 2010 4:53 AM To: cf-talk Subject: Windows File Replication: Suggestions? We have a bunch of Windows 2003 servers (not RC2) and I'd like to have a particular directory on them replicated in real time, i.e. file change on the master server instantly updates the slaves. In RC2 there appears to be some built in goodness for this, DFS Replication - but we don't have access to this. Does anyone have suggestions for a *Real Time* replication service that might perform the same task? N.B. I've considered using Robocopy on a scheduled poll or a CF EventGateway, but I'd much prefer a dedicated service. TIA Dominic ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335784 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: www.cbo.gov down. CF to blame?
Greg... The 503 error could also be related to the web server (Apache or IIS). I'd just tell your friends that ANY site would go down under the traffic sent by Drudge Report unless it had lots of resources. Hell Twitter has load issues weekly and they're running Rails (I think). There's NO language that's Scalable right out of the box. It all has to do with HOW the site is written. andy -Original Message- From: Greg Luce [mailto:luce...@gmail.com] Sent: Wednesday, July 28, 2010 6:57 AM To: cf-talk Subject: www.cbo.gov down. CF to blame? I have some friends piling on Coldfusion because the www.cbo.gov website is down. Drudge linked to it I guess and crashed the site and they are blaming CF. The error is HTTP Error 503. The service is unavailable. Isn't this an IIS issue? How would you respond to well the cbo.gov, it's running on coldfusion. so no big shock there ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335788 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: www.cbo.gov down. CF to blame?
They at least have cfm pages exposed in the URL, although I've heard that it's just ASP.NET included, or called, by ColdFusion. andy -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Wednesday, July 28, 2010 8:17 AM To: cf-talk Subject: RE: www.cbo.gov down. CF to blame? Maybe you should mention to them that Myspace and the US Senate are ColdFusion. They seem to handle the traffic just fine. It's as likely a server resource problem as CF. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5319 (20100728) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335793 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Regex Help
He'd still want to change all of his existing URLs so that they're correct moving forward. However, you're right, he could use ISAPI Rewrite (IIS) or mod_rewrite (Apache) and let the web server take care of it andy -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Tuesday, July 27, 2010 10:05 AM To: cf-talk Subject: Re: Regex Help Why not use url rewrite instead? This type of thing is perfect for it, plus none of your existing links will break. On Tue, Jul 27, 2010 at 10:55 AM, Robert Harrison rob...@austin-williams.com wrote: I knew you were kidding, but I don't have time to laugh. I converting all my URLs from the old variable scheme (i.e., news.cfm?id=7) to the stupid SEO spoonfeed urls (i.e., news.cfm/this-is-my-article-for-stupid-lazy-google-programmers-who-can t-unde rstand-variables). I hate this. I now believe Google has supplanted Microsoft as the most evil entity on the planet. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Monday, July 26, 2010 9:15 PM To: cf-talk Subject: Re: Regex Help I hope he does because your post literally made me laugh out loud. On Mon, Jul 26, 2010 at 8:52 PM, andy matthews li...@commadelimited.comwrote: You know I was kidding right? -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: Monday, July 26, 2010 6:21 PM To: cf-talk Subject: RE: Regex Help Sigh... .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Monday, July 26, 2010 3:03 PM To: cf-talk Subject: RE: Regex Help [Completely irrelevant link removed] :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335754 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Regex Help
Fixing the current links within your site so that they're search engine safe will actually break ALL of your indexed links within Google, or Yahoo, etc. Having a URL rewrite in place alongside your code changes will allow Google to keep your links indexed and update them the next time it indexes your site. My host uses ISAPI_REWRITE for IIS and here's what my .htaccess file looks like for my blog: RewriteEngine on RewriteRule category/([a-zA-Z0-9-]+) index.cfm?verb=categoryterm=$1 RewriteRule search/([a-zA-Z0-9-,]+) index.cfm?verb=searchterm=$1 RewriteRule rss/([a-zA-Z0-9-,]+)? rss.cfm?feed=$1 I personally HATE having to have the index.cfm in my links so I wrote this to keep me from having to do that. A category link might look like this: http://andymatthews.net/category/jQuery/ What the regex does in the second line above is to capture (regex) everything after category/ and pass it to index.cfm as verb=categoryterm=jQuery andy -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, July 27, 2010 10:24 AM To: cf-talk Subject: RE: Regex Help Why not use url rewrite instead? If it's this: http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/ that looks good but it also requires server IIS intervention. That does not solve the problem on all my sites and all the servers they are running on. Building them into my own CMS permanently solves the problem and keeps my tools portable for various server environments. In the long run it's I'm thinking it's probably best to make my CMS tools just work that way so I'm not thwarted by an uncooperative host. Does that make since? Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, July 27, 2010 11:17 AM To: cf-talk Subject: RE: Regex Help Why not use url rewrite instead? What's that? Have a link? Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5317 (20100727) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335755 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Regex Help
http://www.cftagstore.com/tags/cfreextract.cfm :) -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Monday, July 26, 2010 1:00 PM To: cf-talk Subject: Regex Help I want to replace any occurrence of multiple -- in string so the entire string only contains one - in a row after filtering. Something like this does (sort of): #Replacelist(#mayvar#,-,,---,--,-,-,-,-)# But with regex more like: #ReReplace(#myvar#,--,-,ALL)# How do I write a reg to change all multiple -- to result in only one -? Thanks Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 5315 (20100726) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335723 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Regex Help
You know I was kidding right? -Original Message- From: Bobby Hartsfield [mailto:bo...@acoderslife.com] Sent: Monday, July 26, 2010 6:21 PM To: cf-talk Subject: RE: Regex Help Sigh... .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Monday, July 26, 2010 3:03 PM To: cf-talk Subject: RE: Regex Help [Completely irrelevant link removed] :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335742 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Export CF app as HTML files to save on cd
Another SUPER easy way to do this is to use HTTrack: http://www.httrack.com/ It spiders a website and creates a local copy. Lots of config options too. andy -Original Message- From: Mark Mandel [mailto:mark.man...@gmail.com] Sent: Tuesday, July 20, 2010 8:23 AM To: cf-talk Subject: Re: Export CF app as HTML files to save on cd If you're on a linux platform, you can always cfexecute a wget to mirror a website to HTML very easily. Mark On Tue, Jul 20, 2010 at 11:08 PM, Matthew VanderMeer mlvan...@uwaterloo.cawrote: I have built a large CF application that tracks many different things about the center that I work for. One example is all of the publications that the scientists in the center have written. Our center is undergoing and external review and as a part of that review they would like lists of publications by scientist. The app that I have displays this information very cleanly by drawing it from the database. What I would like to do is export all the HTML from this part of the application so I can display the website in HTML, independent of the database. I want to save the website on a cd and then distribute the cd to all of the external reviewers. Can someone point me in the direction of a tutorial or give me a few hints about how I could accomplish this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335523 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF Query to WDDX to Javascript. Possible?
Make sure to check the casing of your returned variables. If you're using dot notation in any of your CF code, ColdFusion will force upper case on keys that it returns. andy -Original Message- From: Will Blake [mailto:willbl...@printelect.com] Sent: Tuesday, July 20, 2010 8:33 AM To: cf-talk Subject: Re: CF Query to WDDX to Javascript. Possible? It's been a long time since I've done this so this may not be useful, but isn't the returned packet a Javascript array? At least it was when I used to use cfwddx, so it was just a matter of normal array manipulation. Thanks for the response! You would think so, but from my experience I cannot get at the data the same way I would with a normal array. For example: response.SCNDRY_TXT[1] returns undefined when I try to 'alert' the value, where response is the name of the total data set, and SCNDRY_TXT is the field name. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335526 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Extracting part of a string
Assuming there's nothing more to your search, then this regex would do you fine: \[y\](.+)\[/y\] -Original Message- From: Rick Sanders [mailto:c...@webenergy.ca] Sent: Tuesday, July 20, 2010 9:23 AM To: cf-talk Subject: Extracting part of a string Hey All, What I need is simple, but I'm struggling with how to do it. I want to extract everything between [y] and [/y] example: [y] http://www.youtube.com/watch?v=uBV00ZGkRJ0[/y] I just want to extract the URL between the opening and closing y tags. Thanks! Rick Sanders www.webenergy.ca ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335531 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Extracting part of a string
Glad to help. -Original Message- From: Rick Sanders [mailto:c...@webenergy.ca] Sent: Tuesday, July 20, 2010 11:40 AM To: cf-talk Subject: RE: Extracting part of a string Thank you Andy, this was most helpful! -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Tuesday, July 20, 2010 11:49 AM To: cf-talk Subject: RE: Extracting part of a string Assuming there's nothing more to your search, then this regex would do you fine: \[y\](.+)\[/y\] -Original Message- From: Rick Sanders [mailto:c...@webenergy.ca] Sent: Tuesday, July 20, 2010 9:23 AM To: cf-talk Subject: Extracting part of a string Hey All, What I need is simple, but I'm struggling with how to do it. I want to extract everything between [y] and [/y] example: [y] http://www.youtube.com/watch?v=uBV00ZGkRJ0[/y] I just want to extract the URL between the opening and closing y tags. Thanks! Rick Sanders www.webenergy.ca ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:33 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Extracting part of a string (part 2)
+1 for the RegExr site. Skinner is awesome. -Original Message- From: Che Vilnonis [mailto:ch...@asitv.com] Sent: Tuesday, July 20, 2010 12:12 PM To: cf-talk Subject: RE: Extracting part of a string (part 2) Thanks Charlie. I found that (\$\d+(\.\d+)?) works as well. The RegExr site was very helpful. http://www.gskinner.com/RegExr/ -Original Message- For that specific string, \$(\S+) seems to work. The \S is any character that is not a whitespace character, so it'd work for $400.01 as well. \$(\w+) should also return the same result. On Tue, Jul 20, 2010 at 8:24 AM, Che Vilnonis ch...@asitv.com wrote: I also have a regex I can't seem to get right and could you some help. Take the following string... buick 322 engine (76023) $400 (dallas) How would I extract just the price ($400) without the dollar sign? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335556 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: What has happened to my Firebug?
Chrome's developer tools are not bad, but they're nothing compared to Firebug. It's the only thing I ever open Firefox any more these days. andy -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Tuesday, July 20, 2010 1:27 PM To: cf-talk Subject: RE: What has happened to my Firebug? Oh, really? Good to know. Liking Chrome these days, are we Ray? :o) Rick -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, July 20, 2010 1:44 PM To: cf-talk Subject: Re: What has happened to my Firebug? Don't forget if you switch to Chrome you've got pretty much the same toolset built in. On Tue, Jul 20, 2010 at 11:36 AM, Rick Faircloth r...@whitestonemedia.com wrote: Well, thanks anyway... I just uninstalled Firebug and all customizations, then reinstalled, and everything is back to normal. I hadn't realized just how dependent on Firebug I had become! If you don't use it, try it! Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335557 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: What has happened to my Firebug?
Absolutely. There is no comparison. andy -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Tuesday, July 20, 2010 4:29 PM To: cf-talk Subject: RE: What has happened to my Firebug? Yeah, I do a lot of AJAX work/debugging...so Firebug is superior in that respect? -Original Message- From: Rob Parkhill [mailto:robert.parkh...@gmail.com] Sent: Tuesday, July 20, 2010 3:22 PM To: cf-talk Subject: Re: What has happened to my Firebug? Just be careful with Chrome and the now built-in Flash player. You need to go into chrome://plugins and disable Flash Player if you want access to the debug version of Flash player. I still prefer Firebug for the Javascript debugging on AJAX requests. Cheers, Rob On Tue, Jul 20, 2010 at 3:04 PM, Andy Matthews li...@commadelimited.comwrote: Chrome's developer tools are not bad, but they're nothing compared to Firebug. It's the only thing I ever open Firefox any more these days. andy -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Tuesday, July 20, 2010 1:27 PM To: cf-talk Subject: RE: What has happened to my Firebug? Oh, really? Good to know. Liking Chrome these days, are we Ray? :o) Rick -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, July 20, 2010 1:44 PM To: cf-talk Subject: Re: What has happened to my Firebug? Don't forget if you switch to Chrome you've got pretty much the same toolset built in. On Tue, Jul 20, 2010 at 11:36 AM, Rick Faircloth r...@whitestonemedia.com wrote: Well, thanks anyway... I just uninstalled Firebug and all customizations, then reinstalled, and everything is back to normal. I hadn't realized just how dependent on Firebug I had become! If you don't use it, try it! Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335585 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: What has happened to my Firebug?
I'll deathmatch you during your presentation tomorrow night. Heckling throughout the entire duration. :) andy -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, July 20, 2010 4:33 PM To: cf-talk Subject: Re: What has happened to my Firebug? Andy, I've not found Chrome's tools lacking in anyway. The only thing that comes to mind is that you can't expand it like Firebug, so no ColdFire. On Tue, Jul 20, 2010 at 2:04 PM, Andy Matthews li...@commadelimited.com wrote: Chrome's developer tools are not bad, but they're nothing compared to Firebug. It's the only thing I ever open Firefox any more these days. andy -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Tuesday, July 20, 2010 1:27 PM To: cf-talk Subject: RE: What has happened to my Firebug? Oh, really? Good to know. Liking Chrome these days, are we Ray? :o) Rick -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, July 20, 2010 1:44 PM To: cf-talk Subject: Re: What has happened to my Firebug? Don't forget if you switch to Chrome you've got pretty much the same toolset built in. On Tue, Jul 20, 2010 at 11:36 AM, Rick Faircloth r...@whitestonemedia.com wrote: Well, thanks anyway... I just uninstalled Firebug and all customizations, then reinstalled, and everything is back to normal. I hadn't realized just how dependent on Firebug I had become! If you don't use it, try it! Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335586 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: (ot) CF/Verity: What is the synonym for it in PHP ?
Apache offers the Solr search engine, which in fact replaces Verity in ColdFusion 9. If you want more info about Solr you can check their docs, or look for some of Shannon Hicks' presentations on his website: http://www.iotashan.com/?s=solr andy -Original Message- From: cf-t...@sdsolutions.de [mailto:cf-t...@sdsolutions.de] Sent: Monday, July 12, 2010 9:07 AM To: cf-talk Subject: (ot) CF/Verity: What is the synonym for it in PHP ? Hi list, I know this is off topic and should probably being asked in a PHP-list, but does anybody know of a search engine similar to CF AND Verity running under PHP ? Uwe -- Mit freundlichen Grüßen cf-t...@sdsolutions.de mailto:cf-t...@sdsolutions.de ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335259 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Blogging Engines
Just to throw this out, but tumblr is pretty awesome. It's very stripped down, but it's UI is slick, and it's easy to use. It's hosted, which could be a problem, but it's an awesome piece of software. In addition, I've got a CFC that I wrote which can interface with tumblr. http://tumblrcfc.riaforge.org/ andy -Original Message- From: Jake Churchill [mailto:reyna...@gmail.com] Sent: Monday, July 12, 2010 11:58 AM To: cf-talk Subject: Re: ColdFusion Blogging Engines Yeah, I agree. I'm no designer either, but I enjoy a slick UI. I'll try Mango and if that doesn't work out I'll probably fall back to BlogCFC. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
Can you be a little more clear? What do you mean by recipe script? -Original Message- From: Ennio Bozzetti [mailto:en...@medrise.com] Sent: Wednesday, July 07, 2010 6:31 AM To: cf-talk Subject: Looking for a CF Recipe script! Does anyone know a good Recipe Script? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335147 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Looking for a CF Recipe script!
That's a little vague wouldn't you say? You're going to need to be more specific as to what you're looking for. -Original Message- From: Ennio Bozzetti [mailto:en...@medrise.com] Sent: Wednesday, July 07, 2010 10:34 AM To: cf-talk Subject: Re: Looking for a CF Recipe script! :) a script that manage Recipes... :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335163 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Hosting Inquiry
I use Gearhost and love them. The account I have offers 10 ips with additional one for $1 or $2 apiece. They also offer MSSQL (and MySQL). I don't know about SSL. andy -Original Message- From: Jim Helmbrecht [mailto:jhelmbre...@gmail.com] Sent: Friday, July 02, 2010 9:17 PM To: cf-talk Subject: Hosting Inquiry I currently host my stuff on a set of outdated servers in a small colo in downtown Dallas, TX. I would like to move off my personal stuff to a more reliable location in a hosted environment. Can anyone point me in the right direction? My needs are: ~20 IPs needed ~10 SSL certs ~10 MSSQL databases (small) Email/Webmail for each domain Any suggestions/feedback is very welcome! Thanks! Jim H. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335040 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: issues preserving the case of the key
Put your initial array inside a scope. VARIABLES['response'] = {}; Then you'd refere to it like so: VARIABLES['response']['hotspots'] = []; On a side note, it's irritating that it does this, but you can code for it on the client as long as you know it's happening. ColdFusion itself could care less if the variables are uppercase, lowercase, or some mixture. andy -Original Message- From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] Sent: Thursday, July 01, 2010 5:11 AM To: cf-talk Subject: issues preserving the case of the key Hi Having more issues with a JSON request. the page calling the service is case sensitive, this was solved using the bracket structure syntax: i.e. response['hotspots'] = []; to preserve the case of the key. however I have an array I have tried added the array different ways to the struct but it still comes out uppercase! cfscript var response = StructNew(); var tempArray=ArrayNew(1); var obj = ; response['hotspots'] = []; obj = { distance = 100, attribution=This is a test layer POI provider, title= My layer - snowy4, lon= 53.472696, lat=-2.261843, imageURL=null, line4=RADIOLIST-None,CustSlider-None, line3=SEARCHBOX - asdfdgxdg, line2=DevlId - 896Settings: range=1000', actions=, type=0, id=test_1 }; arrayappend(response['hotspots'],obj); response['layer'] = testme; response['errorString']='ok'; response['morePages']='false'; response['errorCode']= '0'; response['nextPageKey']='null'; /cfscript also tried cfscript var response = StructNew(); response['hotspots'] = [ { distance =100, attribution=This is a test layer POI provider, title= My layer - snowy4, lon= 53.472696, lat=-2.261843, imageURL=null, line4=RADIOLIST-None,CustSlider-None, line3=SEARCHBOX - asdfdgxdg, line2=DevlId - 896Settings: range=1000', actions=, type=0, id=test_1 }]; arrayappend(response, hotspots); response['layer'] = testme; response['errorString']='ok'; response['morePages']='false'; response['errorCode']= '0'; response['nextPageKey']='null'; /cfscript ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335009 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: JSON response need a little help
You can do implicit array and structure creation in ColdFusion since v8. cfset myArr = [] cfset myStruct = {} Only on CF 9 however can you do this cfset myArr = [] cfset ArrayAppend( myArr, {} ) -Original Message- From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] Sent: Wednesday, June 30, 2010 10:18 AM To: cf-talk Subject: Re: JSON response need a little help simply things! thanks that is something I missed yes. one last thing looking at what they want back it seems that 'hotspots' needs to be an array can you do implicit Arrays in CF like this would this not give me an error? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334960 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: JSON response need a little help
Well, remember that JSON is a string representation of a complex object, not the object itself. So if you plan on passing the variable below through SerializeJSON, or ColdFusion's built in JSON returnformat then you'd be okay. andy -Original Message- From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk] Sent: Wednesday, June 30, 2010 10:39 AM To: cf-talk Subject: Re: JSON response need a little help cool so something like this would work?... response['hotspots'] = [{ distance ='100', attribution=This is a test layer POI provider, title= My layer - snowy4, lon= 53.472696, lat= '-2.261843', imageURL='null', line4= 'RADIOLIST-None,CustSlider-None', line3= 'SEARCHBOX - asdfdgxdg', line2= 'DevlId - 896Settings: range=1000', actions='', type='0', id='test_1' }]; ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334980 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Order By question
You might even consider a subquery to get those two id values: SELECT * FROM judges ORDER BY CASE WHEN judge_id IN ( SELECT id FROM users WHERE some criteria ) THEN 1 ELSE 0 END, judge_lname Then you wouldn't have to hard code them. andy -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Wednesday, June 30, 2010 4:19 PM To: cf-talk Subject: Re: Order By question Works the charm: SELECT * FROM judges ORDER BY CASE WHEN judge_id IN (2589,7555) THEN 1 ELSE 0 END, judge_lname Thanks folks... __ Information from ESET NOD32 Antivirus, version of virus signature database 5241 (20100630) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335005 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Builder Auto-Indent
Matt... When I installed CFB auto-indenting was turned on by default. -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Tuesday, June 29, 2010 12:42 AM To: cf-talk Subject: ColdFusion Builder Auto-Indent I am giving CFBuilder a whirl, and am having difficulty finding how to enable the auto-indenting, or smart indenting as I believe it is called in other IDEs. According to the docs (link below) this is supported. However, I do not see any such option in my installation. http://tinyurl.com/28mhvhb Am I missing something? Are the docs wrong? Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334918 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Contact for FullAsAGoog?
He's a mystery, wrapped in an enigma. -Original Message- From: Jeff Chastain [mailto:li...@admentus.com] Sent: Monday, June 28, 2010 4:53 PM To: cf-talk Subject: Contact for FullAsAGoog? Is it just me or is there no contact information on the FullAsAGoog web site? I was looking for a way to register a new RSS feed, but I am missing something here. Anybody know how or have a contact for the aggregator? Thanks -- Jeff -- Jeff Chastain President/CEO, Admentus, Inc. http://www.admentus.com http://ams.admentus.com Admentus is a custom web based solutions provider, delivering business software applications, systems integration, strategic consulting, and ColdFusion application maintenance services which allow our clients to grow their business and plan for the future. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334898 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Is it time for Adobe to Rebrand Cold Fusion?
The flip side of that is it's also too easy to tell how out of date you are. :) -Original Message- From: Raymond Camden [mailto:rcam...@gmail.com] Sent: Tuesday, June 22, 2010 8:48 AM To: cf-talk Subject: Re: Is it time for Adobe to Rebrand Cold Fusion? Ok, I'm now straying into OT area, but I must be the only who liked the idea of PRODUCT YEAR as a brand. Ie, Windows 95, Windows 98, Windows 2000. To me it was a very clear way to know the release of the version you are using. On Tue, Jun 22, 2010 at 8:30 AM, Justin Scott jscott-li...@gravityfree.com wrote: Trivia fact: Macromedia did consider rebranding the product for 6.0, which as we all know was the first version to be built on Java. They sort of did, a little bit, when they added that MX nonsense to the name. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334727 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Pathing Problem
You might also need to use UNC pathing if it's a network drive. \\computer-name\images Instead of E:\Images andy -Original Message- From: Richard Steele [mailto:r...@photoeye.com] Sent: Monday, June 21, 2010 8:14 AM To: cf-talk Subject: Pathing Problem Our images reside on a separate drive e:/images. Our website is on c:\inetpub\wwwroot. How do I show the images on the e drive? Adding a virtual directory images in IIS and having img src in our code point to e:\images doesn't seem to work. Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334678 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Gmail/Facebook Style jQuery Chat
I recently gave a presentation to the New York CFUG where I demoed a jquery chat app that I wrote. It's not a finished product by any means but it might get you started in the right direction. http://snurl.com/x0kq3 andy -Original Message- From: Les Irvin [mailto:les.cft...@gmail.com] Sent: Friday, June 18, 2010 1:19 AM To: cf-talk Subject: Gmail/Facebook Style jQuery Chat Does anyone know if there is there any CF-based version of something like this available? http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/ Thanks, Les ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334636 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: jQuery alternative to cfwindow?
If you're writing an entire app then you might consider jQuery UI which has widgets like that. Alternately ExtJS (now Sencha) offers the same widgets along with a LOT more stuff. andy -Original Message- From: Joe None [mailto:drue...@comcast.net] Sent: Friday, June 18, 2010 6:14 AM To: cf-talk Subject: jQuery alternative to cfwindow? Is there a library or simple method to duplicate what cfwindow does with jQuery? I'm on an older version of CF and like the modal pop-up window cfwindow creates. If this is an option in jQuery could someone point me to an example? Thank you ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334638 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Finding the value of a key in a nested structure
When working with structures nested that deeply you might consider IsDefined instead. cfif IsDefined('session.currentUser.permissions.' arguments.path) It's not a best practice necessarily, but it would prevent a whole bunch of StructKeyExists calls. andy -Original Message- From: Tom King [mailto:mailingli...@oxalto.co.uk] Sent: Monday, June 14, 2010 9:20 AM To: cf-talk Subject: Finding the value of a key in a nested structure Ok, my brain is hurting - I know this should be possible, but I can't quite get the syntax. I need to pass a string (a path to a structure which contains a boolean in the session scope) into a function, which then checks the value: i.e cfif checkPermission(email.send.all) Show a form or page /cfif cffunction name=checkPermission cfargument name=path cfif session.currentUser.permissions['#arguments.path#'] cfreturn true cfelse cfreturn false /cfif /cffunction So in this instance, CF is looking for session.currentUser.permissions['email.send.all'] - i.e a structure key name of 'email.send.all' , rather than session.currentUser.permissions.email.send.all Is there an elegant solution to this problem? Ta T ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334529 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: RegEx help
If you can always depend on Age: before the desired string, and what looks like a tab afterwards, then it's trivial: Age:[0-9a-Z]+\t That assumes that the age will be any combination of letters and numbers, and also allows for upper and lower case. andy -Original Message- From: Debbie Morris [mailto:ddicker...@macromedia.com] Sent: Monday, June 07, 2010 1:51 PM To: cf-talk Subject: RegEx help I need to extract a particular piece of data from one of my query fields and I'm not sure how to go about it. We have incidents in one table that can have comments in another table associated with them. Here's an example of one of the comments in my query results that I need to grab data from: Case Information Problem:diff breathing Patients:1 Four commandment Information Age:2 months Gender:Female Conscious:Yes Brea I need to get the Age information for any comments that contain it. The Age field always begins as shown above and the Gender field always immediately follows it, so I'm assuming I can work from that, but I just don't know how to go about writing it. Any thoughts would be greatly appreciated!! Deb ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334347 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HTML 5, has anyone done anything more than played with it
FYI I upgraded from XP to Windows 7 and have had zero issues. andy -Original Message- From: Les Mizzell [mailto:lesm...@bellsouth.net] Sent: Tuesday, June 01, 2010 11:25 PM To: cf-talk Subject: Re: HTML 5, has anyone done anything more than played with it It won't even be mainstream then. There's still an awful lot of people out there running XP XP isn't broke. I've seen no reason to fix it myself so far. Guess I'm one of those awful lot of people. If MS had given me an upgrade path from XP instead of a delete everything start from scratch install all your crap from the beginning path, I might have made the move to Win 7 already. But, I can't afford the down time to upgrade. Maybe dual boot at some point so I can keep running and slowly over everything over. Later. Sometime. remember that at least 15% of web traffic (a hair over by my stats actually) is still on IE6. My main client is an office building full of attorneys using IE6. They don't care if it works in anything else AT ALL, but it damn well better work in IE 6!! Drives me crazy. that assumes that Firefox/Chrome/Opera haven't gotten to half market share by that point, which they may at the rate they're growing. Please great and powerful Cthulhu grant us a standards complaint browser that maketh the entire IE line vanish from this plain of existance. __ Information from ESET NOD32 Antivirus, version of virus signature database 5164 (20100601) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334223 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HTML 5, has anyone done anything more than played with it
While I agree with you that it's not ready, one of the benefits to using it is that if a browser doesn't understand something, then it'll just skip it. And if you're deadset on running your code as fully HTML 5, you could always output it as XML then render it with your own XSLT doc while you wait until it's ready: http://ishtml5readyyet.com/ andy -Original Message- From: Scott Stewart [mailto:webmas...@sstwebworks.com] Sent: Tuesday, June 01, 2010 2:11 PM To: cf-talk Subject: HTML 5, has anyone done anything more than played with it I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? Is anyone implementing any of this on a public facing production site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: HTML 5, has anyone done anything more than played with it
On a side note, here's a dissenting viewpoint: http://ishtml5ready.com/ -Original Message- From: Scott Stewart [mailto:webmas...@sstwebworks.com] Sent: Tuesday, June 01, 2010 2:11 PM To: cf-talk Subject: HTML 5, has anyone done anything more than played with it I'm starting to dig into HTML 5, and so far, apart from some of the CSS3 attributes, I don't see anything that jumps out and says ready for prime time. The browser support is spotty at best, let's be real does it really matter if Opera supports something? If IE and Firefox don't have support for something then it's not mainstream, am I wrong here? Is anyone implementing any of this on a public facing production site? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: referencing #application.applicationname#
Yes, it was a joke. And while I don't always learn specifics from Barney's or Sean's posts, I almost always find out about topics of which I've never heard. So keep it up Barney/Sean...you guys spur the rest of us onwards. andy -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Monday, May 31, 2010 9:59 AM To: cf-talk Subject: Re: referencing #application.applicationname# Are you and Barney speaking English? I suspect this is just a joke on your part, and I'm not really addressing this response to you specifically. But the reason I'm still on this list is mostly people like Barney and Sean. When I read their posts, I'm likely to learn something I didn't know before. I may not even understand the topic they're discussing at first, but that's how we learn new things. I started programming when most programmers were building desktop applications, and concurrency wasn't usually much of an issue for them. Nowadays, of course, concurrency is an issue for all of us since we build multiuser applications. But a lot of CF programmers, in my experience, aren't prepared to understand or deal with concurrency issues - and I think this explains some of the feeling in the larger world of programming that CF is a toy language. Many CF developers don't understand how databases deal with concurrency, or how concurrency affects their own applications. CF developers very often don't seem to know what's going on in that larger world of programming, and we should. We don't all have to be computer scientists, but we should at least know the basics of our trade. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334144 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: referencing #application.applicationname#
Are you and Barney speaking English? -Original Message- From: Barney Boisvert [mailto:bboisv...@gmail.com] Sent: Sunday, May 30, 2010 4:39 PM To: cf-talk Subject: Re: referencing #application.applicationname# CFLOCK is only required to serialize access to prevent race conditions. For immutable state, no race conditions can arise, so locking is unneeded. Since application.applicationname is immutable, you don't need to lock access to it. In a more general sense, anything that is only accessed in a read-only and side effect-free fashion doesn't need to be locked. This is the reason that functional languages are so supremely suited to highly concurrent applications. With immutable state and side effect-free operations, the issue of concurrency basically vanishes from the programmer's mind. This purity of environment only works completely in academia, but a very close approximation can be created that is useful for real-world problems. Clojure (a JVM-based Lisp dialect) is an example of this, leveraging Actors to deal with concurrent modification problems without foisting the hassle of locking on the developer. cheers, barneyb On Sun, May 30, 2010 at 2:29 PM, Matthew P. Smith m...@smithwebdesign.net wrote: Does this require a lock? I was reading through the CF WACK, and it has an example like so: cflock name=#application.applicationname#_whatever type=exclusive timeout=10 does reading the app scope require a lock? Would I nest two locks? Or is it not required because the application name does not change? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334133 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF regex question [SOT]
Per the good Jason Dean at www.12robots.com: cfqueryparam(.?[^(cf_sql_type)])+? Tested against these: cfqueryparam value=foo / cfqueryparam value=foo cfqueryparam value=#foo# cfqueryparam value=foo cfsqltype=cf_sql_integer / cfqueryparam cfsqltype=cf_sql_integer value=foo / And the first three match. andy -Original Message- From: Greg Morphis [mailto:gmorp...@gmail.com] Sent: Friday, May 28, 2010 1:39 PM To: cf-talk Subject: CF regex question [SOT] I just ran into a problem with some old code one of team mates did. He used cfqueryparams but did not specify a cfsqltype. We upgraded our DB from Oracle 9i to 10g and all of the sudden we're getting Error Executing Database Query errors. Logs show A nonnumeric character was found when expecting a numeric character. One of the queries had a date column and the cfqueryparam looked like cfqueryparam value=foo / no cfsqltype and according to the docs it's default is CF_SQL_CHAR. So I need to go through the 1321 cfqueryparams and look for ones with no cf_sql_type. Is there a regex I can throw into Eclipse to help find these queries? Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334096 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Error trapping
That probably means there's a coldfusion error in your error page. Try removing all CF code and just put text on the page. See if that gets emailed to you then slowly work back in your error logic. andy -Original Message- From: Rick Sanders [mailto:c...@webenergy.ca] Sent: Tuesday, May 18, 2010 5:20 PM To: cf-talk Subject: Error trapping Hey all, I've tried using the cferror tag and having the error emailed to me but instead it throws an http 500 error and the error doesn't get emailed. What's the easiest way to have an error on a cfm page trapped, emailed, and then redirected to an error page? Thanks, Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333808 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: How to show a work-in-progress icon while waiting for a web service
One simple way to do it is just to disable the submit button and change it's text to something like Loading data That way you give instant feedback to the user and it's someplace they're already looking. andy -Original Message- From: John Pullam [mailto:jpul...@mcleansystems.com] Sent: Wednesday, May 12, 2010 5:55 PM To: cf-talk Subject: How to show a work-in-progress icon while waiting for a web service I have an app which calls a web service on a different computer to do work on its behalf and sometimes my users are impatient and hit the invocation button a second time, which causes problems. I'd like to pop some kind of work-in-progress or busy icon on the web page while this service is executing but am drawing a blank on how to do that. I can envision a hidden div with some kind of animated gif but am not sure of exactly how to activate it and then deactivate it when the service returns. Would appreciate any ideas on how to do this. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333631 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Downloading mp3s
You can do one of a few things. Serve up the MP3 file through ColdFusion like so: http://lab.artlung.com/coldfusion-force-download/ Or you can set up your web server to deliver MP3 files as downloads instead of playing them. andy -Original Message- From: Rob Voyle [mailto:r...@voyle.com] Sent: Saturday, May 08, 2010 7:16 AM To: cf-talk Subject: Downloading mp3s Hi Folks I have a series of mp3 sound files on my website. I would like people to be able to download them to listen on their ipod or in their car on a cd etc. People are able to listen to them from the web but their ability to download and save them seems very variable. Some can see save as others can't. There is great variability between browsers and the media programs that people are using. Some mp3 files are able to be saved others aren't though I am not sure of any difference as I haven't set any specific permissions Is there a way to create saving permission for mp3 that all browsers/media players would recognize? Thanks Rob ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333526 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Which is more efficient?
Performance wise you'd probably only see a difference in the milliseconds. Memory wise you might see a difference in the last one because of the extra variable storage, but only on sites with really high traffic. That's my guess that is. andy -Original Message- From: Chuck Weidler [mailto:h...@coldfusionguru.com] Sent: Saturday, May 08, 2010 8:50 PM To: cf-talk Subject: Which is more efficient? I was set here on a Saturday morning writing code for a website and I was wondering what is more efficient when working with setting and manipulating variable values. Which is more efficient? Doing it all in one call? cfscript Variables.myVar = Trim(Replace(SomeValue, whatever, something, ALL)); /cfscript Seperating the functions? cfscript Variables.myVar = Replace(SomeValue, whatever, something, ALL); Variables.myVar = Trim(Variables.myVar); /cfscript Seperating the functions with a assignment to a new variable? cfscript Variables.myVar = Replace(SomeValue, whatever, something, ALL); Variables.myNewVar = Trim(Variables.myVar); /cfscript Like I said just something I was thinking about. Chuck ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333534 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9 Developer Edition and Verity?
http://projects.apache.org/projects/solr.html -Original Message- From: Jason Fisher [mailto:ja...@wanax.com] Sent: Thursday, May 06, 2010 9:58 AM To: cf-talk Subject: re: CF9 Developer Edition and Verity? No, it comes with Solr, an instance of Lucene. From: Rob Barthle r...@barthle.com Sent: Thursday, May 06, 2010 10:56 AM To: cf-talk cf-talk@houseoffusion.com Subject: CF9 Developer Edition and Verity? I can't seem to find anything concrete on this. Does the CF9 Developer Edition not come with Verity? I don't seem to have it. FWIW, this is a JRun multiserver installation, not standalone. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333419 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: How are other developers handling big SVN repositories?
That's pretty much how we handle it. We have a single branch that gets created at the beginning of each week, forked from the trunk. All minor changes get committed to that branch during the week, then merged into the trunk. When a new project is created, changes are committed to it, then merged into the current weekly branch, then into the trunk. anduy -Original Message- From: Jeff Gladnick [mailto:jeff.gladn...@gmail.com] Sent: Thursday, May 06, 2010 11:35 AM To: cf-talk Subject: How are other developers handling big SVN repositories? We have about 8 or 9 engineers and QA people working on a big cf application, all stored in SVN. The way we currently handle source control is at the outset of each mini-project, then one or two developers will branch the svn and work on that until they're done, then QA will merge the changes back into the trunk. The problem has become, we now have like 30+ branches, about 8 of which are used regularly, and QA is getting into merge hell. SoHow do other developers handle svn with large projects and multiple people? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333426 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: query for experts?
If the minimum quantity is 5 for an item, then you should consider not letting them place only 4 in their cart. If you're still wanting to move in that direction then a query like this should do the trick: SELECT FLOOR(price * CEILING(cart.qty/ min_qty) ) AS price FROM tblPricing WHERE id = 123 -Original Message- From: Mike Little [mailto:m...@nzsolutions.co.nz] Sent: Wednesday, May 05, 2010 7:12 PM To: cf-talk Subject: query for experts? hey guys, hopefully an easy one... tblPricing -- min_qty (INT) price a product has the following rows... 5, $12.00 10, $11.55 the customer adds a quantity of 4 to their cart. how do i establish that the price should be $12.00? existing query would be... SELECT price FROM tblPricing WHERE product_min = cart.qty ORDER BY product_min DESC LIMIT 1; doesn't work in this case. mike ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:69 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: query for experts?
You didn't mention which DB system you're using. The functions might be different from DB to DB. I used SQL Server as my base so YMMV. Using CF code as an example you should get multiples of the price for each grouping less than or equal to the minimum quantity: cfset cart = 4 cfset min = 5 cfset price = 12 cfoutput #Fix(price * CEILING(cart/ min) )# /cfoutput So for 1-5, you'd have 1 * 12, for 6-10 you'd have 2 * 12, 11-15 you'd have 3 * 12, etc. That should carry over to the query as well. -Original Message- From: Mike Little [mailto:m...@nzsolutions.co.nz] Sent: Wednesday, May 05, 2010 9:36 PM To: cf-talk Subject: Re: query for experts? azadi - your query works for a qty of 4 but not anything between 5 and 10. rick - not possible as qty's range massively per product type andy - cannot get this query to work, outputs wrong price maureen - was just an example ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:74 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: jquery $.ajax - need help with json syntax
I find that it's easier, and more self-documenting, to enumerate the variables in data directly: $.ajax({ url: cfc/mycfc.cfc?method=dbupdate, dataType: 'json', data: { a: 'andy', b: 'bobby', c: 'charlie', d: 'devon' }, type: 'post', success: callBack }); -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Thursday, April 29, 2010 11:16 AM To: cf-talk Subject: jquery $.ajax - need help with json syntax I need to pass 4 arguments and for this purpose, lets use a,b,c,d var data = {argumentCollection:{?}}; $.ajax({ url: cfc/mycfc.cfc?method=dbupdate, dataType: 'json', data: data, type: 'post', success: callBack }); Where data = ??? I know that when using the coldfusion ajax proxy I need to pass argumentCollection as a parameter. Also, one of the arguments is an object with different data types. (ie - a.string, a.int, a.boolean, etc) Obviously the 'data' variable is wrong. Has anyone been able to post data using this method? ~| 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:333236 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: jquery $.ajax - need help with json syntax
I don't believe that's a legit method of transmitting data via AJAX. The API docs say that if you pass an array to a value then it will concatenate: a: ['one','two']; Amounts to ?a=onea=two -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Thursday, April 29, 2010 2:43 PM To: cf-talk Subject: RE: jquery $.ajax - need help with json syntax Ok...you lost me. Now, what exactly does the 'a': {a:a.cat,b:a.dog,c} do? An array for a ??? Rick -Original Message- From: Tony Bentley [mailto:cascadefreehee...@gmail.com] Sent: Thursday, April 29, 2010 1:27 PM To: cf-talk Subject: Re: jquery $.ajax - need help with json syntax Okay I figured it out: var data = { 'a': {a:a.cat,b:a.dog,c:a.etc}, 'b': b, 'c': c, 'd': d }; Thanks everyone for the help. It helped me out quite a bit. ~| 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:333268 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Can this be done?
There are several things which could be wrong. - Unidentified, or incorrect, color profile - Image is in CMYK. ColdFusion might not mind this, but many browsers won't display these images. andy -Original Message- From: Eric Nicholas Sweeney [mailto:n...@bigfatdesigns.com] Sent: Monday, April 19, 2010 1:43 PM To: cf-talk Subject: RE: Can this be done? Matt - I have the same problem with a client - they receive images from a 3rd party - and when they upload them they don't show up in IE. (They do in FF though...) Resaving in photoshop doesn't always fix the issue either... Sometimes we have to make a NEW image - then cut and paste the pic into it to save to the correct format... However - I am not aware of any method for testing the JPGs formats through CF... (Or even what is really wrong with these JPGS - I just assume something is wrong with the way they were originally created - perhaps using RAW?) RGB vs CMYK isn't necessarily the problem... At least for me. (Some of the JPGS in CMYK actually show up... Others in GRB don't...?! ) Only thing I can say - is try that conversion stuff and see what happens. And please post the answer - would LOVE to know the answer. - Nick ~| 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:332996 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Does cflocation pass through request type and variables?
My company, Dealerskins, has a Flash application for viewing a car dealer's inventory. On the details page of said app, there a series of configurable buttons which can point to any page in a dealer's site. We link to that page by performing a POST request from Flash, passing an assortment of variables to the receiving page. Dealer's can also have a custom URL on the page which takes the user to any site on the internet the dealer wishes to link to. In this case, the dealer is linking to a credit app site which does not allow POST requests. The problem is that we're using cflocation on the middle page to redirect the user. You can clearly see this behaviour if you visit the following URL in Firefox, with Firebug running. http://www.galpinford.com/used-inventory/19UUA66287A002725 Click the Get Approved button and you'll see that the page dies. If you examine the request, you'll also see that the third party site is blocking the POST request, but you can also see the values we're submitting. My question is, is it possible to convert a POST request to a GET request before passing the user off to the third party URL? andy matthews ~| 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:332954 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Does cflocation pass through request type and variables?
Well, in almost every case, if not all cases, with a 3rd party URL, we don't care about passing the variables. We wouldn't even have a problem with this one if it wasn't for the fact that the third party URL is blocking POST requests. andy -Original Message- From: Matt Quackenbush [mailto:quackfu...@gmail.com] Sent: Friday, April 16, 2010 2:58 PM To: cf-talk Subject: Re: Does cflocation pass through request type and variables? Loop through the form scope and append to the redirect URL's querystring? ~| 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:332956 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Getting frame name in Coldfusion
Unless you're reading in the HTML with a cfhttp call, or you're setting the frame name IN ColdFusion, then no. That's a client side thing, so you'd have to use JavaScript to get that. andy -Original Message- From: funand learning [mailto:funandlrnn...@gmail.com] Sent: Wednesday, April 14, 2010 7:41 PM To: cf-talk Subject: Getting frame name in Coldfusion Is there a way to determine the frame's name in coldfusion? ~| 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:332896 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: form testing
Disable JavaScript would be an easy one. You could also create your own form on a stand alone page, and just point the action attribute of your new form to the action attribute of the form to be tested. -Original Message- From: succ...@ramonecung.com [mailto:succ...@ramonecung.com] Sent: Tuesday, April 13, 2010 8:34 AM To: cf-talk Subject: form testing Heya! I'm testing an in house developed app and I'm wondering what the best wat to post data to a form is that gets around client side validation (including the maxlength property of a text field and select boxes having pre-defined data). I basically want to ensure the server side validation is solid. I figured there would be a firefox extension for this but my google fu is weak today. Thanks for the tips. Ramon Ecung II, BS, ACHDS, MCP Sent from my Mobile Device ~| 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:332856 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: storing a cfinput inside of a variable
The only option would be to evaluate the variable, and even that might not work: cfoutput #Evaluate(config.formFieldA)# /cfoutput -Original Message- From: Steve Logan [mailto:st...@sagescholars.com] Sent: Thursday, April 08, 2010 1:37 PM To: cf-talk Subject: storing a cfinput inside of a variable 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 it errors because the cfinput isn't in a cfform (since the cfinput is in a CFC being called by the form page). The reason for this is that this one form field could have different max lengths, validations, validation patterns, and messages based on a variety of factors. If I can move the input into a CFC that returns all sorts of other partner specific info, it keeps me to having just one space to enter config data. ~| 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:332803 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: using cfhttp
http://aremysitesup.com/ Run by Chris Coyier of CSS-tricks.com andy -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Wednesday, April 07, 2010 8:25 AM To: cf-talk Subject: Re: using cfhttp Can you recommend any? On Wed, Apr 7, 2010 at 7:00 AM, Brian Thornton vegasthorn...@gmail.comwrote: or just sign up for the many free alerting services. On Tue, Apr 6, 2010 at 12:24 PM, Andy Matthews li...@commadelimited.com wrote: Additionally you can make the request a little lighter by just making a HEAD request instead of a get or post. cfhttp url=http://www.andymatthews.net; method=head/cfhttp It doesn't return the entire body of the site in the filecontent key. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: cf-talk Subject: Re: using cfhttp d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman chorno...@gmail.com wrote: Using cfhttp will return a cfhttp.statusCode, which if is 200 OK you know the URL has resolved correct. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| 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:332706 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFDocs
You should probably consider using http://www.cfquickdocs.com/cf9/ Has access to 7, 8, and 9 docs. andy -Original Message- From: Dave Sueltenfuss [mailto:dsueltenf...@gmail.com] Sent: Wednesday, April 07, 2010 11:31 AM To: cf-talk Subject: CFDocs Does anyone know if the creator of cfdocs.org has plans to update the site to use the latest versions of CF Documentation It's still pointing to CF7'd documents ~| 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:332711 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: using cfhttp
Additionally you can make the request a little lighter by just making a HEAD request instead of a get or post. cfhttp url=http://www.andymatthews.net; method=head/cfhttp It doesn't return the entire body of the site in the filecontent key. andy -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 10:47 AM To: cf-talk Subject: Re: using cfhttp d'oH! yeah, cfhttp.statusCode. not cfhttp.fileStatus. :) On Tue, Apr 6, 2010 at 8:41 AM, Kevin Pepperman chorno...@gmail.com wrote: Using cfhttp will return a cfhttp.statusCode, which if is 200 OK you know the URL has resolved correct. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| 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:332644 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: external css not displaying
Have you tried using Firebug to see if the file is indeed failing to load? andy -Original Message- From: Greg Morphis [mailto:gmorp...@gmail.com] Sent: Tuesday, April 06, 2010 11:42 AM To: cf-talk Subject: SOT: external css not displaying We just renewed the IIS certs on our servers yesterday and today an app that uses external CSS is not formatting. It's almost as if the CSS file isn't found though it's in the same directory as the files. Everything works locally and our staging server. The CSS file is being called: link rel=stylesheet href=print.css type=text/css media=print / any ideas why this would be working yesterday and after the new certs are installed it stops? Thanks! ~| 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:332649 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: using cfhttp
Yep. I use that to ping a site with an AJAX call too. -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Tuesday, April 06, 2010 11:35 AM To: cf-talk Subject: Re: using cfhttp On Tue, Apr 6, 2010 at 9:24 AM, Andy Matthews li...@commadelimited.comwrote: Additionally you can make the request a little lighter by just making a HEAD request instead of a get or post. cfhttp url=http://www.andymatthews.net; method=head/cfhttp It doesn't return the entire body of the site in the filecontent key. Nice! I did not know that. -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| 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:332650 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: default for numeric argument
Yes. -Original Message- From: Matthew Smith [mailto:chedders...@gmail.com] Sent: Monday, April 05, 2010 9:10 AM To: cf-talk Subject: default for numeric argument cfargument name=app_user_id type=numeric required=no default= I am not passing it in. I am getting: The APP_USER_ID argument passed to the check_item_quantities function is not of type numeric. Should I make the default 0? ~| 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:332573 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Flash on iPhone
It's April Fools day remember. andy -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Wednesday, March 31, 2010 8:43 PM To: cf-talk Subject: Flash on iPhone And heck froze over: http://www.macworld.com.au/iphone/view/apple-introduces-flash-for-iphone-470 3 -- John Bliss IT Professional @jbliss (t) / http://www.brandiandjohn.com ~| 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:332516 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion SIG's in Milwaukee?
Have you checked the Adobe website? http://www.adobe.com/communities/usergroups/ -Original Message- From: Dan Barrett [mailto:dbarr...@brooksource.com] Sent: Tuesday, March 30, 2010 9:34 AM To: cf-talk Subject: ColdFusion SIG's in Milwaukee? Hey does anyone know of any ColdFusion Interest Groups in the Milwaukee Area? I'm new to Milwaukee and would like to network within the Milwaukee ColdFusion community. Thanks, all help is appreciated! ~| 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:332436 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Ajax, Json, and two clueless programmers
Just to clarify that CF ONLY returns JSON in all caps if you use dot notation. Try it out yourself. Dot notation VARIABLES.myStruct.myKey - VARIABLES.MYSTRUCT.MYKEY Bracket notation VARIABLES['myStruct']['myKey'] - VARIABLES.myStruct.myKey -Original Message- From: Dave l [mailto:cfl...@jamwerx.com] Sent: Sunday, March 28, 2010 7:30 PM To: cf-talk Subject: Re: Ajax, Json, and two clueless programmers first I would use jquery to make it easier but if neither of you know it the first hurdle you will face is multiple clicks so you should put a div and class around each link and then use jquery's live property which will make this work right or else you'll be scratchin your head trying to get it. then in the same function use jquery ajax function to grab info. Also cfm returns json IN ALL CAPS, so propertyID becomes PROPERTYID in the returned json. $(function() { $('td.propertyInfo').live('click', var PropertyID = this.id; //the line below is used with a regex to help filter data faster by adding a // longer more specific name to the link to speed it up and then the regex // removes the additional text: example would be: the table row would be //property id but you shouldn't use that id if it's just a number so adding //property-#propertyID# separates the value from any other possible conflicts. var getDataString = $(this).attr('id').replace(/property-/ig, ''); var dataString = id= + getDataString; $.ajax({ type: post, url: assets/cfc/process.cfc?method=getPTreturnFormat=json, data: dataString, dataType: json, cache: false, success: function(data) { //success code here } else { $('#submitIt div').removeClass('btnSpin'); //error code here } } }); return false; }); return false; }); ~| 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:332400 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Builder Released!
Dave... Where did you get the information about the AIR runtime coming soon for the iPhone? andy -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Friday, March 26, 2010 9:51 AM To: cf-talk Subject: Re: ColdFusion Builder Released! What happened to exporting apps into iPhone apps? Wasn't that one of the main highlights of Flash Builder previews? Export your Flex/ AIR apps to iPhone? I tried searching their highlights page and found nothing searching for iPhone? The Flash CS5 release, coming soon, lets Flash developers export to native iPhone apps, which can then presumably be put in the App Store and rejected for arbitrary and capricious reasons. The AIR runtime for iPhone is also coming soon, I think, at which point you'll be able to build Flex/AIR iPhone apps. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| 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:332320 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Builder Released!
I believe I'd heard about AIR for Android devices, but I'd be utterly shocked if AIR made it to the iPhone. That sort of goes against their terms, stating that additional runtimes may not be included. andy -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Friday, March 26, 2010 11:56 AM To: cf-talk Subject: Re: ColdFusion Builder Released! Where did you get the information about the AIR runtime coming soon for the iPhone? That's a good question. I was sure I'd seen something like that in one of the feeds I read, but can't find it now. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| 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:332326 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Differences between MySQLs?
Could be a case sensitivity issue. What's the OS of you, and of your host? On *nix systems table names are case sensitive. -Original Message- From: Phillip Vector [mailto:vec...@mostdeadlygame.com] Sent: Wednesday, March 24, 2010 2:03 PM To: cf-talk Subject: Differences between MySQLs? When I run this on my server.. SELECT * FROM Accounting Where PromoCode = 'CNJ0009001' I get 6 results... This is a local Dev server I have set up. When i run it at my hosting company, I get 0 results for the same exact query. I go in and my external database program confirms the records are in there. The page works fine locally, but on the live site, it doesn't. Before I make a ticket, can anyone confirm perhaps a setting they heard of or some such that might be responsible or does anyone have any additional troubleshooting steps I may be missing? ~| 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:332199 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Builder Released!
As much as it kills me to say that Eric is right, and it does, I think he's right. A developer in another language isn't gonna pay MORE for something they don't need, and probably wouldn't use. ;) andy -Original Message- From: Eric Cobb [mailto:cft...@ecartech.com] Sent: Tuesday, March 23, 2010 8:57 AM To: cf-talk Subject: Re: ColdFusion Builder Released! Charlie Griefer wrote: Bundling it with FlashBuilder may be their way of trying to increase the uptake of the language as a whole and thus ultimately sell more server licenses. By doing this, they're potentially introducing CF to PHP developers, Java developers, etc. I have to say that I don't agree with that last statement. FlashBuilder 4 (Standard Edition) with CFBuilder costs $299, and FlashBuilder 4 (Standard Edition) without CFBuilder costs $249. So for an existing PHP/Flex developer who has no use for CF, do you think they're going to pay $299 to get an extra IDE for a language they don't use, or spend $50 less and just get the IDE they need? thanks, eric cobb ecar technologies, llc http://www.cfgears.com Charlie Griefer wrote: On Mon, Mar 22, 2010 at 2:28 PM, Mary Jo Sminkey mary...@cfwebstore.comwrote: The cost has to do with Adobe being a publicly traded company needing to generate revenue and hopefully post a profit. The cost would therefore more likely be based on the amount of effort (time/money) involved in developing (research, planning, developing, testing, marketing) the product. A lot of us hoped they would see that selling it a lower price point would help to increase the uptake of the language as a whole and thus ultimately sell more server licenses. For a large company like Adobe, profit is what the company makes as a whole, not what one product alone brings in. Microsoft learned this a long time ago and has used free and low-priced items to increase their revenue in other areas, and it's certainly a large reason for their success. Bundling it with FlashBuilder may be their way of trying to increase the uptake of the language as a whole and thus ultimately sell more server licenses. By doing this, they're potentially introducing CF to PHP developers, Java developers, etc. Everyone who uses Flex but doesn't use CF on the server side. I'm not exactly sure that selling it at a lower price point would have the same effect. It'd appeal to those of us who currently use ColdFusion... we'd conceivably be able to buy the product for $199 instead of $299. Ok... but I don't see where that would necessarily increase the uptake of the language as a whole. I also think their move to bundle CFBuilder with FlashBuilder -is- encouraging developers. It's encouraging me to make the foray into Flex, which is something that I've wanted to do for a while now. Not if the price discourages me from even buying the product in the first place. But you're already a ColdFusion developer. If I wanted to buy FlexBuilder 3 last year, I'd have paid $299 (i think... it was certainly in that neighborhood). So we know that Flex developers are willing to pay that amount. They're going to pay the same thing this year, and get ColdFusion Builder. Adobe is pretty much giving it away to the Flex community in hopes of doing what you say... increase the uptake of the language as a whole. We CF folk.. we pay a little bit more than the $199 we hoped it would be, and get FlashBuilder. So not only is Adobe conceivably introducing CF to other developers, but it's conceivably introducing Flex/FlashBuilder to us. I'm sorry that people think $300 is too expensive. I know that expensive is a subjective term, and while some people can whip out their credit cards and order a copy without a second thought, some of us will have to save up for it. But as has been pointed out... if you use the product for a year (and it really shouldn't even take a year), how much time are you going to save... how much more productive could you possibly be? Maybe the answer is, not enough. In which case... there are alternatives (CFEclipse and others). For me, I think it'd be enough (I'm currently using TextMate on Mac as my IDE... so I don't really have a horse in this race, so to speak). I've used the beta of CFBuilder tho, and I can see where it'd save me time. I run multiple CF8 and CF9 instances on my dev machine. Generally one at a time... not having to jump out of the IDE, into terminal, stop one service, start the next, back to the IDE... instead I can just open up the servers pane in CFBuilder, stop one service, start the other. Code insight, extensible via writing extensions in CF (-not- Java)... I think I'd make my $300 back in under a year, and probably end the year being up a few bucks. I get that it's not going to be for everybody. It's not going to work for everybody. I just
RE: ColdFusion Builder Released!
What does that have to do with it? That's a pretty lame excuse. I could say why should you charge for a website when Microsoft or Apache built the web server your site runs on? andy -Original Message- From: Eric Roberts [mailto:ow...@threeravensconsulting.com] Sent: Monday, March 22, 2010 1:00 PM To: cf-talk Subject: RE: ColdFusion Builder Released! The issue is that it is a plugin, not a full IDE...Eclipse already provides the IDE and that is free. If this was a package that they developed on there own like DW...then that would be different. Even so, they should be encouraging developers, since we are the ones doing their marketing work for them so that we will encourage our employers and clients to use CF. Eric -Original Message- From: Justin Scott [mailto:jscott-li...@gravityfree.com] Sent: Monday, March 22, 2010 12:37 PM To: cf-talk Subject: RE: ColdFusion Builder Released! There was no way Adobe was going to please everybody (well, not without outright giving it away... which wouldn't have pleased the shareholders). Even if they gave it away it's still pretty much useless for my workflow. I need a lightweight editor which has some basic knowledge of ColdFusion and can open/edit/save files anywhere, not a full-blown IDE with integrated debugging support and a lock-in to their project model. If I ever have a need for a full-on IDE then I would say $299 isn't so bad, but as it stands Adobe has made CF Builder pretty much impossible for me to use. -Justin ~| 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:331999 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Builder Released!
Kris... If ColdFusion has free products as its chief competition then why are you dropping the money to purchase ColdFusion? There's a reason for that...it's the same reason you might drop cash for ColdFusion Builder, and it's the same argument that Charlie has been making since the thread started. ColdFusion, and CFBuilder, makes you more productive. andy -Original Message- From: Kris Sisk [mailto:ks...@gckschools.com] Sent: Monday, March 22, 2010 1:47 PM To: cf-talk Subject: Re: ColdFusion Builder Released! You guys are a bunch of whiners. I don't know if I'll buy ColdFusion Builder yet, but if I do...$300 is cheap, for any software. What do you guys want?! Free? How much work do you do for free? Don't buy it...fine, but don't whine about $300. $300 cheap for any software? What kind of Kool Aid have you been drinking? Don't get me wrong. ColdFusion Builder is a great IDE and I'll probably shell out the $300 for it (or get my company to buy it). The issue is that we're already shelling out at least $1200 to Adobe for a product that has free products as its chief competition. It would have been wise, given that price tag versus the price tag of PHP (or even Railo) to give us a free, or at least inexpensive, IDE. As is, I'm feeling shafted. I almost certainly won't use Flash Builder so I fell like I'm being forced to buy a $250 IDE that I won't use to get a $50 IDE that I will. That said, I'm on my way to my boss' office to ask if we've got the money in the budget for it now. Most likely it won't happen due to the budget cuts we're facing, and working for public schools certainly doesn't give me the kind of financial flexibility I'd need to buy a $300 IDE any time soon. ~| 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:332001 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Builder Released!
Two years ago my company of 60+ was spending almost $20k a year on coffee. andy -Original Message- From: Jochem van Dieten [mailto:joch...@gmail.com] Sent: Monday, March 22, 2010 2:27 PM To: cf-talk Subject: Re: ColdFusion Builder Released! On Mon, Mar 22, 2010 at 6:13 PM, Jake Churchill wrote: It's bundled with FlashBuilder 4 which is nice. That's actually a pretty decent price. You get it for 'free' with Flash Builder 4 Premium, which is a EUR 270 upgrade from Flex Builder 3. Over 2 years that is less then 60 cents per day. Most companies spend three times as much on coffee. Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~| 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:332002 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Builder Released!
I just wanted to point out that technically Aptana is free. They do have a a Pro version, Aptana Studio, but you can use Aptana for free straight off their site. andy -Original Message- From: Wil Genovese [mailto:jugg...@visi.com] Sent: Monday, March 22, 2010 5:01 PM To: cf-talk Subject: Re: ColdFusion Builder Released! @Rick Actually, I do not see much CFEclipse functionality in CFBuilder with one exception and that is for Snippets. Everyone requested Adobe keep Snippets compatible with CFEclipse so we could easily share them. I kinda wish Adobe could have included CFEclipse as the base of ColdFusion Builder. I think there would have been a shorter development time and far more bugs would be resolved and ColdFusion Builder would have more features not less. The other included work is that of Aptana and I suspect there is a licensing deal between Adobe and Aptana. Aptana is a paid product so no one is getting a free ride with that deal. In addition Eclipse itself is based on a product that was built by IBM. http://www.ibm.com/developerworks/rational/library/nov05/cernosek/index.html There are many commercial products built on the Eclipse platform. I see nothing wrong with that. Wil On Mon, Mar 22, 2010 at 3:14 PM, Rick Faircloth r...@whitestonemedia.comwrote: This is more of a moral argument than a financial one. No, I haven't been privy to the development of CFB, but it just appears that they have piggy-backed on the work of a lot of others who work for no cost (at least on the product)...CFEclipse and Eclipse, and are charging a lot for work they didn't have to do. Now, sure, they can charge whatever they want, just as I can. But if I quote a large amount to a regular client that they feel is unjustified for my effort and their benefit, you can bet there would be some howls of indignation. They can charge what they want, but that doesn't mean they are right to charge any amount when a lot of the work in developing the IDE (interface, plug-in style, etc., Eclipse and CFEclipse) was done by others. Dreamweaver: Original product built from the ground up...charging $300...justified CFBuilder:Non-original, tack-on plug-in, whose user interface isn't even original (purposefully created this way, I'm sure, so so that Eclipse and CFEclipse users would make an easy transition to its use...again a benefit to Adobe by from the work of others)...charging $300...not justified And, yes, I could make back the money soon if it cost $1000...that's not the point. Rick -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Monday, March 22, 2010 2:16 PM To: cf-talk Subject: Re: ColdFusion Builder Released! The issue is that it is a plugin, not a full IDE...Eclipse already provides the IDE and that is free. If this was a package that they developed on there own like DW...then that would be different. Why would this be any different? Your problem here, in my opinion, is that you're looking at the complexity of what you're buying, and the perceived value of the amount of work done to build it. That really is completely irrelevant. There's only one thing that's relevant: would buying this make you a more productive developer and quickly cover the cost of the product? If the answer is yes, you should buy it, even if it was easy for Adobe to develop compared to other products. If the answer is no, you should not buy it. Even so, they should be encouraging developers, since we are the ones doing their marketing work for them so that we will encourage our employers and clients to use CF. Clearly, this argument is not compelling enough to Adobe, who apparently feel entitled to make a profit on their work, just like you and me. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite ~| 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:332087 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: ColdFusion Builder Released!
You're already buying a bundle for your car...they just don't tell you about it. Got a stereo in the last car you bought? What about power windows? Power locks? -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Monday, March 22, 2010 5:13 PM To: cf-talk Subject: RE: ColdFusion Builder Released! What would you think if you went to buy a car, but the dealership refused to sell it to you unless you bought every option available? I wouldn't be too happy about being forced to buy a bundle to get the one product I wanted. -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Monday, March 22, 2010 5:55 PM To: cf-talk Subject: Re: ColdFusion Builder Released! On Mon, Mar 22, 2010 at 2:50 PM, Rick Faircloth r...@whitestonemedia.comwrote: And that's all well and good. If I could develop a plug-in for Eclipse, I'd try to sell it. Making money is *not* evil. Overcharging customers (which is the underlying issue driving people's comments, I believe) is... They're selling CFBuilder -and- FlashBuilder for the price they used to charge (just a year ago) for FlexBuilder (which is now FlashBuilder). They're essentially saying, here... here's the product we sold last year, at the price we sold it at. Oh, and we're throwing in ColdFusion Builder. And that would be overcharging how...? -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| 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:332088 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF, Flex and EXTJS
The two technologies, Flex and Ext JS, do very similar things in different ways. I'd say that it all depends on where your comfort level is. If your team knows Actionscript 3 (or Java) already, then Flex might be a good fit. If, on the other hand, you have JavaScript experts, you might want to use Ext JS. Bear in mind that both are free to develop in, but Flex Builder, the preferred IDE for Flex developers, is not free. andy -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Thursday, March 18, 2010 11:41 AM To: cf-talk Subject: CF, Flex and EXTJS Hi we used to use dhtmlx for our interface components but found it was very slow. We were pointed to Ext JS and think it is brilliant. However, we are just wondering where flex fitd in. do you guys use flex instead of ext js, or do you combine the two? we would appreciate any general advice you have about interfaces and technologies to use thanks ~| 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:331861 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Tumblr loves me!
I recently released a ColdFusion library for tumblr called tumblrCFC: http://tumblrcfc.riaforge.org/ The tumblr staff found out about it and added it to their their 3rd party apps page under âDesktop + Mobile Applicationsâ. http://www.tumblr.com/docs/en/apps Woohoo! andy ~| 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:331872 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
New open source API: tumblrCFC
Hey everyone... I just wanted to take a minute to announce a new API that I've released. It's a ColdFusion wrapper for the tumblr blog API. You can find more information about it at my website: http://andymatthews.net/code/tumblrCFC/ I'd love to get feedback from any of you that decide to start using it. andy ~| 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:331806 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: linkedin api
Sounds like the world needs someone to build a ColdFusion wrapper for the LinkedIn API Hugo. You up to the challenge? andy -Original Message- From: Hugo Ahlenius [mailto:hugo.ahlen...@nordpil.com] Sent: Monday, March 15, 2010 11:08 AM To: cf-talk Subject: linkedin api Hi, I was just looking for options to have a nicely laid out and current CV, when I realized that I have all that information kept current in linkedin anyways, so I might as well just look into accessing that and prepare a nice html document using my cf engine. Does anyone know of any existing tools/packages/cfcs to use the linkedin api? Or any valuable pieces of experience/information in using this API? I checked the usual suspects - riaforge, adobe cf exchange and cflib, but didn't find anything obvious! Thanks, Hugo -- Hugo Ahlenius - Hugo AhleniusE-Mail: hugo.ahlenius(at)nordpil.com Phone:+46 75 7575284 Nordpil Fax: +46 8 6747020 http://nordpil.com Mobile: +46 733 467111 Skype: callto:hugo.ahlenius vCard:http://nordpil.com/hugoahlenius.vcf - ~| 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:331758 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Easy Regex question?
Should be able to do this: REMatchNoCase('table[^]+/table', myString) -Original Message- From: Carol F [mailto:cfcn...@gmail.com] Sent: Friday, March 12, 2010 6:52 PM To: cf-talk Subject: Re: Easy Regex question? do you mind sharing the solution please? On Fri, Mar 12, 2010 at 1:28 PM, Che Vilnonis ch...@asitv.com wrote: Scratch that... I figured it out! -Original Message- From: Che Vilnonis [mailto:ch...@asitv.com] Sent: Friday, March 12, 2010 4:25 PM To: 'cf-talk@houseoffusion.com' Subject: Easy Regex question? This should be easy. How do I remove all text between table/table tags from a larger string? Thanks, Che ~| 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:331721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Development Apps - Does anyone use homesite still?
You're going to have the same trouble when moving to y from x in ANY field, be it software, or applications, or even using a different knife when cooking. You just have to believe that the new thing will eventually be better than the old thing. If you don't think that it will improve your development, then why bother...seriously. If Homesite works for you, and your development needs, then why switch? andy -Original Message- From: Ben Alembick [mailto:benalemb...@gmail.com] Sent: Tuesday, March 09, 2010 6:58 AM To: cf-talk Subject: Development Apps - Does anyone use homesite still? Hi, Ive been using homesite for my coldfusion development now for years (does anyone else still use it? id be interested), i have often attempted to swap to eclipse or (more lately) cfbuilder but i find that i spend so much more time trying to get used to the apps that i end up reverting when i need to get some work done quickly, then im hooked back on homesite and the circle begins again. (I also spend ages trying to make everything look like homesite :-)) I really would like to change to something more up to date, does anyone have any suggestions / tips on how and what i should use (especially for MURA development). I also use a mac which i flip between dreamweaver and cfbuilder any ideas there? Also and please nobody scream, but i do a lot of my live development lately of ftp (or sometimes RDS) - my dev work is mainly for my works local intranet. So Homesites FTP is awesome compared to modern apps (they just don't make em like they used to :-). Thanks in advance Ben ~| 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:331464 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: How to handle large ResultSet, so that it can also be reused?
If you want to reuse the results of a single query then your only option is to store it in memory. I'd say you need to ask yourself whether the results will be different from user to user, or for the entire application. That will determine how you store the query. If it's consistent across all users then you might be able to cache the query on the server side. Alternately you could look at possibly storing it in the Application or Server scopes. I'm sure other, more experienced, developers have better suggestions. andy -Original Message- From: sandeep saini [mailto:sandeep00...@yahoo.com] Sent: Thursday, March 04, 2010 11:22 AM To: cf-talk Subject: How to handle large ResultSet, so that it can also be reused? Hey Guys! I am creating a Reporting website in which we may get huge(ten of thousands of records) data in query ResultSet. I may want to re-use this data as well. So what is the best and efficient way to handle(store and retrive?) such a resultset? FYI- 1. I am using Mach II framework. Can Mach II caching can help? If yes, how and how much? I also have some basic knowledge of TransferORM. 2. The database(oracle) we have is hugh and is really dirty(cant even create ERD using some tools). Thanks ~| 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:331349 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: OT JS question
parseInt might do the trick. parseInt(var) -Original Message- From: Chad Gray [mailto:cg...@careyweb.com] Sent: Thursday, March 04, 2010 1:37 PM To: cf-talk Subject: OT JS question Anyone know if there is an equivalent to CF's val() in Javascript? I want to check a JS variable and set it to zero if it is blank. Thanks ~| 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:331362 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Prevent Cross-Site Scripting in ColdFusion 5
It's easy enough to write your own function for this sort of thing. Here's the basis of how I might approach it: cfset REQUEST.qs = 'var1=andyvar2=Jaimevar3=Noelle' cfset REQUEST.qsArr = ArrayNew(1) cfloop index=REQUEST.outer list=#REQUEST.qs# delimiters= cfset REQUEST.key = ListFirst(REQUEST.outer,'=') cfset REQUEST.value = ListLast(REQUEST.outer,'=') /cfloop At that point you could do anything you wanted to with REQUEST.key or REQUEST.value. andy -Original Message- From: Donnie Carvajal [mailto:donnie.carva...@transformyx.com] Sent: Tuesday, March 02, 2010 4:34 PM To: cf-talk Subject: Re: Prevent Cross-Site Scripting in ColdFusion 5 I have checked CFLib.org. They have a couple of UDF's for handling URL variables, but nothing that appeared like it would parse through CGI.query_string or use some sort of regular expression to encode or remove unwanted vars without losing the variables by encoding the ampersand and equal signs. Have you checked CFLib.org yet? Great collection of UDF's. Maybe something there that can help you. Steve Cutter Blades Adobe Community Professional - ColdFusion Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com Donnie Carvajal wrote: I have an app that is written in ColdFusion 5 and there are several places in the app where CGI.query_string is used to set the query string on the href of an anchor tag. I need a clean way to scrub the CGI.query_string variable. I can't use URLEncodedFormat because all of the ampersands and equal signs will be encoded and then there won't be any query string variables. I can't use the application. scriptProtect variable because the app is in ColdFusion 5 and it can't be upgrade to any version of ColdFusion MX without some major work to fix errors. Does anyone know of a UDF, custom tag, CFX, etc. that I can use. Thanks, Donnie ~| 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:331274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Custom 404 Page
I think your best bet is to change your 404 handler to point to a coldfusion page. Then it can handle everything. 404.cfm -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Thursday, February 25, 2010 8:37 AM To: cf-talk Subject: Custom 404 Page Hi, I put a custom 404 error page in IIS. I works for everything, except CF pages. How do I also cf pages which are not found to display my 404 page? Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4895 (20100225) __ The message was checked by ESET Smart Security. http://www.eset.com ~| 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:331135 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Best subversion repository
Are you not considering using Subversion? We've been using it here at Dealerskins for over 2 years and have been very pleased. We run our own repositories out of our staging server. So as far as cost goes it's free, if you have the machine already. -Original Message- From: Michael Dinowitz [mailto:mdino...@houseoffusion.com] Sent: Wednesday, February 24, 2010 12:40 PM To: cf-talk Subject: Best subversion repository I'm looking at offsite subversion repositories and I'd like to hear the pros and cons from people who may have used them. The question is more towards tools and usage than anything else. This is what I have: Assembla - no real free account, needs the $49 account to be effective, what are the tools like? Beanstalk - free account, lowest cost ($15) is effective for use, not many tools unfuddle - free account, lowest cost ($9) is effective for use, though it'll fill up fast, looks like a good spread of tools codespaces - no free account, lowest cost ($2.99) is effective for use, looks like it has a LOT of tools xp-dev - free account (with ads), lowest cost ($5) is effective for use, looks like a lot of tools The free xp-dev or unfuddle both look like something that anyone should get into using. The minimum codespaces looks better than either of the free options. The minimum xp-dev has so much unlimited (users, projects, etc.) that it kind of blows the others away. So which is best? Which has the best tools (in your opinion). Step up to the plate and let us all know. Thanks -- Michael Dinowitz ~| 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:331101 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4