CF7.1 CFHTTP to Amazon S3: cfhttp.filecontent = 'Connection Failure'?
hi, hope someone has some insight into this! we're interfacing a legacy app written in CF7.1 with Amazon S3. CF7.1 is configured in J2EE mode as a standalone environment, using JDK 1.5.0_06 as the JVM. we're using CFHTTP, through Barney Boisvert's Amazon S3 CFC rewritten for CF7, to connect to S3 via HTTP and list buckets and objects. so far, so good: we can connect over SSL and retrieve bucket metadata, and list the objects within a bucket. the problem is that when we try to retrieve the binary data for a file using CFHTTP, cfhttp.filecontent says 'connection failure' even though the cfhttp.responseheader from Amazon returns a 200 OK and suggests that the request is valid. we don't seem to be able to retrieve binary data for any file within S3 using CFHTTP. Here's a text string of the CFHTTP response, dumped to screen: Charset [empty string] ErrorDetail [empty string] Filecontent Connection Failure Header HTTP/1.1 200 OK x-amz-id-2: /XFWXNPANYUPfSGbBJIqA+M+YZa1JkNafyYdCgDCzusSQJMiTz2mNEjgwCMw0Kna Content-Type: application/pdf x-amz-request-id: 6C74552D4E8E2138 Date: Tue, 20 Jul 2010 09:34:56 GMT Last-Modified: Tue, 29 Jun 2010 12:41:55 GMT ETag: 1c647e3b629e7058297cfff19abfc9be Server: AmazonS3 Content-Length: 46436 Mimetypeapplication/pdf Responseheader struct Content-Length 46436 Content-Typeapplication/pdf DateTue, 20 Jul 2010 09:34:56 GMT ETag1c647e3b629e7058297cfff19abfc9be Explanation OK Http_VersionHTTP/1.1 Last-Modified Tue, 29 Jun 2010 12:41:55 GMT Server AmazonS3 Status_Code 200 x-amz-id-2 /XFWXNPANYUPfSGbBJIqA+M+YZa1JkNafyYdCgDCzusSQJMiTz2mNEjgwCMw0Kna x-amz-request-id6C74552D4E8E2138 Statuscode 200 OK TextNO When we make a URL request directly from a web browser for the same file as that CFHTTP call, the file is retrieved immediately and without any issues. It's only the CFHTTP call that isn't retrieving the binary data, the URL it's using is valid. Thinking it might be the old CFHTTP SSL issue, we've updated the server's cacerts file using the Amazon cert for *.s3.amazonaws.com and restarted the server, but this hasn't had an effect. Does nayone have any experience of this? Any CFHTTP or Java workarounds that we can try? Is there a good Java library that we can use within CF to retrieve files from Amazon S3 without needing to use CFHTTP? Thanks for your time, Ed ~| 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:335510 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Access Data Source Problem with ColdFusion 9 on 64 bit Windows 7
I have a post on this... http://www.coldfusionmuse.com/index.cfm/2009/4/7/MS.Access.Proxy Note the comments - there is an acceptable 64bit commercial driver that does not cost an arm and a leg. -mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com 7 Hello Dave, Any solution for the following: Windows 7 ColdFuison 9 64 bit - How to connect to MS access 2003 DB? (I saw the solution for 32 bit CF on windows 7) NOTE: as per Paul Kukiel, --- Pretty sure access dosn't work in 64bit ColdFusion 8 or 9 -- Is this is still true or is there a solution? Appreciate your help Girumala ~| 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:335511 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Access Data Source Problem with ColdFusion 9 on 64 bit Windows 7
Mark, I saw the JDBC driver from http://www.hxtt.com and i am going to download and try. Secondly what about ColdFusion 9 on windows 7 connectivity to MS Access 2010? Any readily available drivers or do we need to buy? Any thoughts on this? Appreciate your help Girumala ~| 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:335512 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF Query to WDDX to Javascript. Possible?
Hello all, I have a select menu that I need to be dynamically populated with the results of a db query. I am using jQuery/ajax to pass a value to search for in the database. This all seems to work fine except what is returned is a WDDX packet and I cannot figure out how to take the data that is returned and put it in the dynamic select menu. I know CF has a de-serializier but, as this is done at run time on the client machine I do not see how that would help. I know jQuery/JS you can use the eval() function to parse the wddx packet, but the data that comes out looks the same as the data going in. How do I navigate the wddx packet? I have tried what would make sense (i.e. data.fieldName.value)but what JavaScript shows me is blank or undefined. Thanks! Here is a copy of the packet: wddxPacket version=1.0 header/ data recordset rowCount=3 fieldNames=SCNDRY_CAT_ID,SCNDRY_TXT type=coldfusion.sql.QueryTable field name=SCNDRY_CAT_ID number4.0/number number5.0/number number6.0/number /field field name=SCNDRY_TXT stringARL Special Dispatch/string stringAPG Special Dispatch/string stringARL - APG Dispatch/string /field /recordset /data /wddxPacket ~| 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:335513 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?
WDDX can't be turned into variables with eval() - that's JSON you're thinking of. Why are using WDDX? Can you either use the JSON returntype from a CFC or, if you are on an old version of CF, build a JSON return? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 20 July 2010 20:47, Will Blake willbl...@printelect.com wrote: Hello all, I have a select menu that I need to be dynamically populated with the results of a db query. I am using jQuery/ajax to pass a value to search for in the database. This all seems to work fine except what is returned is a WDDX packet and I cannot figure out how to take the data that is returned and put it in the dynamic select menu. I know CF has a de-serializier but, as this is done at run time on the client machine I do not see how that would help. I know jQuery/JS you can use the eval() function to parse the wddx packet, but the data that comes out looks the same as the data going in. How do I navigate the wddx packet? I have tried what would make sense (i.e. data.fieldName.value)but what JavaScript shows me is blank or undef ~| 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:335514 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Export CF app as HTML files to save on cd
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:335515 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?
I am using jQuery/ajax to pass a value to search for in the database. This all seems to work fine except what is returned is a WDDX packet Do you have control of code that currently returns WDDX packet? If so, why not edit it to use cfwddx action = wddx2js SEE http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_u-z_2.html#2682044 http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_u-z_2.html#2682044 On Tue, Jul 20, 2010 at 7:47 AM, Will Blake willbl...@printelect.comwrote: Hello all, I have a select menu that I need to be dynamically populated with the results of a db query. I am using jQuery/ajax to pass a value to search for in the database. This all seems to work fine except what is returned is a WDDX packet and I cannot figure out how to take the data that is returned and put it in the dynamic select menu. I know CF has a de-serializier but, as this is done at run time on the client machine I do not see how that would help. I know jQuery/JS you can use the eval() function to parse the wddx packet, but the data that comes out looks the same as the data going in. How do I navigate the wddx packet? I have tried what would make sense (i.e. data.fieldName.value)but what JavaScript shows me is blank or undefined. Thanks! Here is a copy of the packet: wddxPacket version=1.0 header/ data recordset rowCount=3 fieldNames=SCNDRY_CAT_ID,SCNDRY_TXT type=coldfusion.sql.QueryTable field name=SCNDRY_CAT_ID number4.0/number number5.0/number number6.0/number /field field name=SCNDRY_TXT stringARL Special Dispatch/string stringAPG Special Dispatch/string stringARL - APG Dispatch/string /field /recordset /data /wddxPacket ~| 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:335516 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?
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. ~| 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:335517 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
I've used this very successfully in the past: http://softbytelabs.com/us/bw/index.html On Tue, Jul 20, 2010 at 8:08 AM, 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:335518 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
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:335519 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
Greetings, local Waterloo (I presume) ColdFusion user! Check out http://www.httrack.com . I haven't used it but site ripper is probably the Google term you're looking for. - Andrew. On 2010-07-20, at 09:08, Matthew VanderMeer wrote: 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:335520 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?
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:335521 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?
No, WDDX is XML, not Javascript; it always has been. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 20 July 2010 21:13, Shannon Rhodes shan...@rhodesedge.com wrote: 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 ~| 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:335522 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: send content to head and body in single call module
Dave and Dominic, these ideas worked very well. Thanks for your time. ~| 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:335524 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?
Right...and cfwddx action = wddx2js should convert that WDDX to a WddxRecordset javascript object. SEE http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_u-z_2.html#2682044 On Tue, Jul 20, 2010 at 8:40 AM, James Holmes james.hol...@gmail.comwrote: No, WDDX is XML, not Javascript; it always has been. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 20 July 2010 21:13, Shannon Rhodes shan...@rhodesedge.com wrote: 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 ~| 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:335525 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
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:335527 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
Does this help? http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:61637 ~| 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:335528 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?
On Tue, Jul 20, 2010 at 9:40 AM, James Holmes james.hol...@gmail.com wrote: No, WDDX is XML, not Javascript; it always has been. The WDDX SDK actually shipped with a fairly robust (for the time) set of JS libraries for manipulating WDDX data via JavaScript. Looks like the official home(s) for the WDDX SDK (wddx.org, then openwddx.org) went away some times ago, but you can still find the original docs hosted elsewhere via google (ie: http://www.finwin.com/Dev/wddxsdk/). There is also some JS documentation in the official CF docs at Adobe.com (do a search). However, I would echo the suggestion that you look into JSON and some of the JSON parsers for better forward compatibility. WDDX had it's day in the sun, and it's still valid and useful, but JSON is going to take you farther with more available tools and a brighter future. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: camer...@gmail.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:335529 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
What I need is simple Try a simple solution : CF_REextract : http://www.cftagstore.com/tags/cfreextract.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:335530 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: Export CF app as HTML files to save on cd
this used to allow you to run CF from a CD, I don't know if it still does http://www.smithproject.org/ On Tue, Jul 20, 2010 at 9:08 AM, Matthew VanderMeer mlvan...@uwaterloo.ca wrote: 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:335532 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Access Data Source Problem with ColdFusion 9 on 64 bit Windows 7
I am successfully using the HXTT driver on a 64 bit platform for that purpose. The only glitch I have run into is that the queries were all case sensitive. They do have a parameter you can set to turn that off. ~| 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:335533 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
+1 for httrack. It is a nice piece of software. G! On Tue, Jul 20, 2010 at 9:42 AM, Andy Matthews li...@commadelimited.comwrote: 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:335534 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?
OK, first not sure why there are two threads going about this question... Anyway, to address some of the comments: I currently on CF 6.1 so I (should?) be able to get a JSON response, I will take a look at that route. I do not have a lot of experience doing this type of thing so I am pretty sure there is a better way to go than I am currently going, and if JSON is it I am open to it. No, WDDX is XML, not Javascript; it always has been. The WDDX SDK actually shipped with a fairly robust (for the time) set of JS libraries for manipulating WDDX data via JavaScript. Looks like the official home(s) for the WDDX SDK (wddx.org, then openwddx.org) went away some times ago, but you can still find the original docs hosted elsewhere via google (ie: http://www.finwin.com/Dev/wddxsdk/). There is also some JS documentation in the official CF docs at Adobe.com (do a search). However, I would echo the suggestion that you look into JSON and some of the JSON parsers for better forward compatibility. WDDX had it's day in the sun, and it's still valid and useful, but JSON is going to take you farther with more available tools and a brighter future. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: camer...@gmail.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:335535 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
What has happened to my Firebug?
Ok... I must be stupid, or just ignorant. All of a sudden, I noticed that Firebug won't display the source of a page. When I click the HTML tab and the arrow, I usually get the source of the page and the CSS in the right pane. I cannot figure out how to get this back. All I can get now when I click the HTML tab are the DOM nodes display. The tab switches from HTML to DOM and when I mouse over page elements with the arrow selected, I get the DOM elements in a full pane in FB. I cannot find a setting to do what I usually do with the source. I tried searching for a solution. I tried resetting the FB defaults. I even tried uninstalling Bf and reinstalling. Nothing is working. Please help this clueless developer! 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:335536 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?
Sorry, meant as per John's suggestion cfwddx action = wddx2js, not the packet itself. No, WDDX is XML, not Javascript; it always has been. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 20 July 2010 21:13, Shannon Rhodes shan...@rhodesedge.com wrote: 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 ~| 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:335537 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Extracting part of a string (part 2)
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? TIA, Che ~| 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:335538 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?
On Tue, Jul 20, 2010 at 11:07 AM, Will Blake willbl...@printelect.com wrote: OK, first not sure why there are two threads going about this question... Probably something about the HOF email/BB interface splitting it up. I currently on CF 6.1 so I (should?) be able to get a JSON response, I will take a look at that route. I do not have a lot of experience doing this type of thing so I am pretty sure there is a better way to go than I am currently going, and if JSON is it I am open to it. If possible, I would seriously considering moving up to the current version of CF (CF9). If that's not possible, you're going to continue running into problems with functionality that you'd really REALLY love to have, but you don't. Often the cost of upgrade is cheaper than whatever hourly rate you apply to recreating features that are included in CF9 for you right out of the box. Having said that I don't think JSON formatted output from CFCs was introduced till CF8. However, JSON is just another way to format output. You can easily build your own JSON strings from objects. If you search cflib.org you might even find some stuff there that works with CF6.1. Again though, the time you will spend trying top rebuild features that are just there in CF9 can be high. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: camer...@gmail.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:335539 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Problems with multiple instances in CF9
I'm having a few issues with a couple of our staging servers that are running multiple instances of CF9, and I'm not sure if they're set up correctly. I have CF9 Enterprise multiserver installed and I created 4 additional instances using the Instance Manager. I also created a specific jvm for each one to use and reregistered each service to use the custom jvm. In Apache I added the following to each vhost (changing the serverstore and port): IfModule mod_jrun22.c JRunConfig Serverstore C:/JRun4/lib/wsconfig/muffin/jrunserver.store JRunConfig Bootstrap 127.0.0.1:51000 /IfModule However, when the service is stopped for one of the sites, instead of getting the JRun 500 error it will instead return a CF error or the site will still come up. But if I stop the main CF server service it will kill all the sites. So it seems that all the instances are still tied to the main service. Is there something I'm missing here or something that wasn't configured correctly? I used this guide when setting it all up. http://help.adobe.com/en_US/ColdFusion/9.0/Admin/WSc3ff6d0ea77859461172e0811cbf3 64104-7fc4.html Thanks for any help. ~| 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:335540 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?
Cameron, Agreed. We do have CF 9 we just have not installed it yet. I am not 100% sure what is taking so long to get it done, but that is a decision that much higher up in the food chain than I am. I'll check out CFLib.org and see what I can find. Thanks for the info. Will OK, first not sure why there are two threads going about this question Probably something about the HOF email/BB interface splitting it up. I currently on CF 6.1 so I (should?) be able to get a JSON response, I will take a look at that route. I do not have a lot of experience doing this type of thing so I am pretty sure there is a better way to go than I am currently going, and if JSON is it I am open to it. If possible, I would seriously considering moving up to the current version of CF (CF9). If that's not possible, you're going to continue running into problems with functionality that you'd really REALLY love to have, but you don't. Often the cost of upgrade is cheaper than whatever hourly rate you apply to recreating features that are included in CF9 for you right out of the box. Having said that I don't think JSON formatted output from CFCs was introduced till CF8. However, JSON is just another way to format output. You can easily build your own JSON strings from objects. If you search cflib.org you might even find some stuff there that works with CF6.1. Again though, the time you will spend trying top rebuild features that are just there in CF9 can be high. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: camer...@gmail.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:335541 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Problems with multiple instances in CF9
it seems that all the instances are still tied to the main service. Output the following in a cfm template to see what instance you are hitting. This works for CF8 and I assume it still works in CF9. #createObject(java, java.net.InetAddress).localhost.getHostName()# #createObject(java, jrunx.kernel.JRun).getServerName()# ~Brad ~| 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:335542 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?
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 -Original Message- From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: Tuesday, July 20, 2010 11:17 AM To: cf-talk Subject: What has happened to my Firebug? Ok... I must be stupid, or just ignorant. All of a sudden, I noticed that Firebug won't display the source of a page. When I click the HTML tab and the arrow, I usually get the source of the page and the CSS in the right pane. I cannot figure out how to get this back. All I can get now when I click the HTML tab are the DOM nodes display. The tab switches from HTML to DOM and when I mouse over page elements with the arrow selected, I get the DOM elements in a full pane in FB. I cannot find a setting to do what I usually do with the source. I tried searching for a solution. I tried resetting the FB defaults. I even tried uninstalling Bf and reinstalling. Nothing is working. Please help this clueless developer! 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:335543 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
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:335544 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Facebook Connect and coldfusion
Glad you liked it. Let me know if you (or anyone else) would like commit privelages to contribute to the project. We still need to build out the post-to-facebook functionality. Awesome! Thank you for posting this! Rick Sanders Webenergy www.webenergy.ca I finally got this roughly working using some different code: http://facebookgraph.riaforge.org/ ~| 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:335545 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)
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? TIA, Che ~| 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:335546 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF7.1 CFHTTP to Amazon S3: cfhttp.filecontent = 'Connection Failure'?
hope someone has some insight into this! we're interfacing a legacy app written in CF7.1 with Amazon S3. CF7.1 is configured in J2EE mode as a standalone environment, using JDK 1.5.0_06 as the JVM. we're using CFHTTP, through Barney Boisvert's Amazon S3 CFC rewritten for CF7, to connect to S3 via HTTP and list buckets and objects. so far, so good: we can connect over SSL and retrieve bucket metadata, and list the objects within a bucket. the problem is that when we try to retrieve the binary data for a file using CFHTTP, cfhttp.filecontent says 'connection failure' even though the cfhttp.responseheader from Amazon returns a 200 OK and suggests that the request is valid. we don't seem to be able to retrieve binary data for any file within S3 using CFHTTP. installed an SSL cert for *.s3.amazonaws.com and also 8 root and intermediate certs for Digicert (cert authority used by Amazon.) still no luck, getting connection failure 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:335547 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)
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:335548 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF7.1 CFHTTP to Amazon S3: cfhttp.filecontent = 'Conn ection Failure'?
the problem is that when we try to retrieve the binary data for a file using CFHTTP, cfhttp.filecontent says 'connection failure' even though the cfhttp.responseheader from Amazon returns a 200 OK Is the response compressed? Post the HTTP headers that you are getting back. ~Brad ~| 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:335549 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF7.1 CFHTTP to Amazon S3: cfhttp.filecontent = 'Conn ection Failure'?
the problem is that when we try to retrieve the binary data for a file using CFHTTP, cfhttp.filecontent says 'connection failure' even though the cfhttp.responseheader from Amazon returns a 200 OK Is the response compressed? Post the HTTP headers that you are getting back. ~Brad thanks. here are the response headers: Content-Length 423873 Content-Typeimage/jpeg DateTue, 20 Jul 2010 17:22:18 GMT ETagf3eff1bd83a93da79195b7f73b473ead Explanation OK Http_VersionHTTP/1.1 Last-Modified Tue, 29 Jun 2010 12:41:51 GMT Server AmazonS3 Status_Code 200 x-amz-id-2 mKWr+XNY5cMQuyPngsCkceLiP5172/sXmwlSNxMg+U2czwVfHb+cbJxiOzPC5HQC x-amz-request-id0453236A1664A90B ~| 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:335550 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Error registering remote instance
I'm trying to set up a cluster in CF 9.0.1. Prior to creating the cluster I'm trying to register a remote instance on one of the servers. Every time I try to create the remote instance I get the following error. Variable ORGSPECDIR is undefined. The error occurred inE:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 360 Called fromE:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 244 Called fromE:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 193 Called fromE:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 182 Called fromE:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 47 Called fromE:\cf9_updates_rc\cfusion\wwwroot\CFIDE\administrator\entman\serverlist.cfm: line 1 Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\entman\index.cfm: line 197 Called from E:\cf9_final\cfusion\wwwroot\CFIDE\administrator\entman\index.cfm: line 1 -1 : Unable to display error's location in a CFML template. Has anyone run into this error? Thanks, Ben ~| 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:335551 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?
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:335552 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?
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:335553 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
I am trying to install ColdFusion 9.0 Developer in Multi-home on a 64bit Windows 7 workstation for the first time. Every time I try, I am getting the dreaded HTTP 500.0 Internal Server Error when I connect ColdFusion to an IIS 7 web site. I've made sure that IIS 7 has the IIS Metadatabase and IIS6 configuration compatibility, ISAPI Etensions and ISAPI Filters enabled. I've enabled 32bit application pools, as far as I can tell in the II7 websites. But I am still unable to get ColdFusion and II7 working together. As soon as I connect a web site to a ColdFusion instance with the web server connection tool, all requests (htm and cfm) to the web site return the 500 error. Can anybody help? TIA Ian P.S. I'm not quite ready to apply the 9.0.1 update, which I hear works better with IIS7. My workstation needs to be the same version as our servers for the time being. ~| 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:335554 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: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
I am trying to install ColdFusion 9.0 Developer in Multi-home on a 64bit Windows 7 workstation for the first time. Every time I try, I am getting the dreaded HTTP 500.0 Internal Server Error when I connect ColdFusion to an IIS 7 web site. I've made sure that IIS 7 has the IIS Metadatabase and IIS6 configuration compatibility, ISAPI Etensions and ISAPI Filters enabled. I've enabled 32bit application pools, as far as I can tell in the II7 websites. If you're using the 64-bit version of CF 9, you're using the 64-bit connector. You need to change your application pool back to 64-bit and reinstall the connector. 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:335558 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?
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:335559 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
On 7/20/2010 12:07 PM, Dave Watts wrote: If you're using the 64-bit version of CF 9, you're using the 64-bit connector. You need to change your application pool back to 64-bit and reinstall the connector. I thought setting 32bit seemed to be odd, but still no joy! I've removed and installed the web sever connector twice now, the second time with a complete reboot after I uninstalled. I am still getting the HTTP 500! ~| 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:335560 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF7.1 CFHTTP to Amazon S3: cfhttp.filecontent = 'Conn ection Failure'?
Hmm, I don't' see any signs of HTTP compression. The content length is 423K so it looks like the remote server at least intended to send the file. If you run a packet sniffer like WireShark on your CF box while it makes the request can you confirm if the actual binary content is sent back? ~Brad Original Message Subject: Re: CF7.1 CFHTTP to Amazon S3: cfhttp.filecontent = 'Conn ection Failure'? From: Ed Griffiths edward.griffi...@uk.agimedia.com Date: Tue, July 20, 2010 12:16 pm To: cf-talk cf-talk@houseoffusion.com the problem is that when we try to retrieve the binary data for a file using CFHTTP, cfhttp.filecontent says 'connection failure' even though the cfhttp.responseheader from Amazon returns a 200 OK Is the response compressed? Post the HTTP headers that you are getting back. ~Brad thanks. here are the response headers: Content-Length 423873 Content-Type image/jpeg Date Tue, 20 Jul 2010 17:22:18 GMT ETag f3eff1bd83a93da79195b7f73b473ead Explanation OK Http_Version HTTP/1.1 Last-Modified Tue, 29 Jun 2010 12:41:51 GMT Server AmazonS3 Status_Code 200 x-amz-id-2 mKWr+XNY5cMQuyPngsCkceLiP5172/sXmwlSNxMg+U2czwVfHb+cbJxiOzPC5HQC x-amz-request-id 0453236A1664A90B ~| 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:335561 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFTEXTAREA onClick
Thanks Den!! I tried your example and it does in fact fire off the alert! I modified it to adjust the textarea heightno love!! Here's the JS I tried: - script function doIt() { //alert( Say cheese! ) ; document.myForm.myArea.style.height=600; } function FCKeditor_OnComplete( editorInstance ) { editorInstance.Events.AttachEvent( 'OnSelectionChange', doIt ) ; } /script - Here's the CFTEXTAREA: - cftextarea name=myArea id=myArea richtext=yes toolbar=ACATS skin=office2003 height=200 toolbarOnFocus=yes#FORM[textVarName]#/cftextarea - Yes the above text area is inside a form named myForm and the name and ID for the CFTEXTAREA is myArea. It doesn't error, but it does appear to impede the behaviour of the toolbarOnFocus as the toolbar doesn't expand when the textarea is clicked. So perhaps adjusting the height is still locked out?? It should just be as simple as changing the CSS style for height...but alas... Any ideas? TIA 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:335562 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: deaddocs (was Re: CFTEXTAREA onClick)
hehe...well I've never been a fan of LiveDocs...mainly because the original docs always seem to be lackingthen it gets locked down as you found and staleness sets in! So yeah...deaddocs is bang on!! Cheers On Mon, 2010-07-19 at 18:22 -0600, denstar wrote: Now this is lame: I went to livedocs to add the richtext binding magic for cf8, and they've cut off comments for this version of the product. That right there violates all that I thought was cool with livedocs. Guess anything below 9 is really deaddocs. Hey, I like that. I'm going to create a live cfml documentation site like cfquickdocs but call it cfdeaddocs. Pretty catchy, neh? :cfdeadden 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:335563 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
I am trying to install ColdFusion 9.0 Developer in Multi-home on a 64bit If you're using the 64-bit version of CF 9, you're using the 64-bit connector. You need to change your application pool back to 64-bit and reinstall the connector. 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:335564 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
Ian, I had the same problem. It wasn't a connector issue; it was a rights issue with IIS. I'm not in a position to give you the exact place, but I had to grant ColdFusion access rights to the applicable file structure mapped to IIS... This same issue occurs with Vista as well. ~| 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:335565 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
On 7/20/2010 1:08 PM, Bradley Stone wrote: Ian, I had the same problem. It wasn't a connector issue; it was a rights issue with IIS. I'm not in a position to give you the exact place, but I had to grant ColdFusion access rights to the applicable file structure mapped to IIS... This same issue occurs with Vista as well. Are you referring to the IIS websites or the IIS web server application? ~| 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:335566 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
Are you referring to the IIS websites or the IIS web server application? CF needs to have read/execute access to the web root directory (and any other place .cfm/cfc files live). The IIS user account (which can either be the IIS anonymous user or the logged-in user visiting an IIS URL) needs to have read/execute access to whatever directory contains the CF ISAPI module. 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:335567 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFTEXTAREA onClick
If you examine the source created by instantiating the fck editor, you'll see that it's not just a CSS height on a textarea anymore. You'll find that you're inside an iframe. If this line from Den's example works: ColdFusion.RichText.getEditorObject('your_textarea_id'); then you would do something like: var myRTE = ColdFusion.RichText.getEditorObject('your_textarea_id'); myRTE.Height = '600'; On Tue, Jul 20, 2010 at 2:59 PM, Bryan Stevenson br...@electricedgesystems.com wrote: Thanks Den!! I tried your example and it does in fact fire off the alert! I modified it to adjust the textarea heightno love!! Here's the JS I tried: - script function doIt() { //alert( Say cheese! ) ; document.myForm.myArea.style.height=600; } function FCKeditor_OnComplete( editorInstance ) { editorInstance.Events.AttachEvent( 'OnSelectionChange', doIt ) ; } /script - Here's the CFTEXTAREA: - cftextarea name=myArea id=myArea richtext=yes toolbar=ACATS skin=office2003 height=200 toolbarOnFocus=yes#FORM[textVarName]#/cftextarea - Yes the above text area is inside a form named myForm and the name and ID for the CFTEXTAREA is myArea. It doesn't error, but it does appear to impede the behaviour of the toolbarOnFocus as the toolbar doesn't expand when the textarea is clicked. So perhaps adjusting the height is still locked out?? It should just be as simple as changing the CSS style for height...but alas... Any ideas? TIA 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:335568 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
On 7/20/2010 1:21 PM, Dave Watts wrote: Are you referring to the IIS websites or the IIS web server application? IIS anonymous user or the logged-in user visiting an IIS URL) needs to have read/execute access to whatever directory contains the CF ISAPI module. Where would one look for the CF ISAPI module. This has always been so automatic for every install I have ever had to do before Windows 7. I'm suspecting this permissions issue might be something though. I am finding that I am having to work so much harder to do anything on this Win7 machine. *Everything* seems to be locked down, even if I am logged in as an Administrator. ~| 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:335569 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
On 7/20/2010 1:08 PM, Bradley Stone wrote: Ian, I had the same problem. It wasn't a connector issue; it was a rights issue with IIS. I'm not in a position to give you the exact place, but I had to grant ColdFusion access rights to the applicable file structure mapped to IIS... This same issue occurs with Vista as well. Permissions was the issue. I opened up the JRun4 folder and the Inetpub folder wide open and the web server connector worked! *YEAH* So now that I have these directories wide open. What would be more sensible security settings for them? ~| 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:335570 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
Where would one look for the CF ISAPI module. By default, c:\jrun4\lib\wsconfig if you're using the multiserver install. I'm suspecting this permissions issue might be something though. I am finding that I am having to work so much harder to do anything on this Win7 machine. *Everything* seems to be locked down, even if I am logged in as an Administrator. Yes! This is how it should be! 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 onsit ~| 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:335571 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
So now that I have these directories wide open. What would be more sensible security settings for them? The CF service user account should have RWXD for \jrun4, and RX for your web content (unless you want to write to those content directories using CFFILE, in which case you'll need W). To allow connections from different IIS users, you should set the connector directory to allow RX for the Authenticated Users group. That's it, in a nutshell. 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:335572 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFTEXTAREA onClick
Thanks Morgan.but unfortunately no luckbut it does give me lots more to go on! Actually I found an issue with Den's example as well.every 20 or so characters the function fires again.even when using the UNDO button on the toolbaras you are changing the contents of the textarea. I see Den is using the OnSelectionChange and I suspect that is similar to onChange. Is there an equivalent to onFocus? Where are these options documented? TIA Cheers On Tue, 2010-07-20 at 15:29 -0500, morgan l wrote: var myRTE = ColdFusion.RichText.getEditorObject('your_textarea_id'); myRTE.Height = '600'; 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:335573 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFTEXTAREA onClick
re-read one of Den's older posts and followed the link to the docs...DOH! Thanks Den! On Tue, 2010-07-20 at 13:59 -0700, Bryan Stevenson wrote Is there an equivalent to onFocus? Where are these options documented? 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:335574 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
On 7/20/2010 1:57 PM, Dave Watts wrote: So now that I have these directories wide open. What would be more sensible security settings for them? The CF service user account should have RWXD... As this is a vanilla, out-of-the-box installation, that is the LocalSystem account. A) Is this a normal Win7 thing that I have to set permissions for this account to the resources it needs for ColdFusion to do it's job? B) So I am doing this for the first time ever. Is LocalSystem the account I want to set or should I set some group of which it is a member? ~| 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:335575 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
Can you get more detail then just a 500 error? Have you tried turning on detailed error messages to get a better idea of what's going wrong? Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Open BlueDragon Steering Committee Railo Community Distributions On 07/20/2010 01:57 PM, Dave Watts wrote: So now that I have these directories wide open. What would be more sensible security settings for them? The CF service user account should have RWXD for \jrun4, and RX for your web content (unless you want to write to those content directories using CFFILE, in which case you'll need W). To allow connections from different IIS users, you should set the connector directory to allow RX for the Authenticated Users group. That's it, in a nutshell. 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:335576 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFTEXTAREA onClick
The new docs don't seem as complete as the old ones, but the developer seems to have done a good job purging the olds ones. Hopefully you can at least find what you need over there. On Tue, Jul 20, 2010 at 4:02 PM, Bryan Stevenson br...@electricedgesystems.com wrote: re-read one of Den's older posts and followed the link to the docs...DOH! Thanks Den! On Tue, 2010-07-20 at 13:59 -0700, Bryan Stevenson wrote Is there an equivalent to onFocus? Where are these options documented? 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:335577 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
As this is a vanilla, out-of-the-box installation, that is the LocalSystem account. A) Is this a normal Win7 thing that I have to set permissions for this account to the resources it needs for ColdFusion to do it's job? Well, LocalSystem (or SYSTEM) has all the file permissions it needs. B) So I am doing this for the first time ever. Is LocalSystem the account I want to set or should I set some group of which it is a member? If this is your development workstation, this is probably sufficient. For a production environment, you typically want to use a specific user account, as SYSTEM has more privileges than you want CF to have, generally. 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:335578 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFTEXTAREA onClick
On Tue, Jul 20, 2010 at 2:59 PM, Bryan Stevenson wrote: ... Is there an equivalent to onFocus? Where are these options documented? http://docs.cksource.com/FCKeditor_2.x/Developers_Guide/JavaScript_API There is an OnFocus! Personally, I'd switch to a ckeditor tag (I have one if you don't, but it's literally two lines of code IIRC). Then I'd use all the *new* plugins and whatnot. It's really easier to work with. If you're married to cftextarea, then I'd take a look at the old plugins for FCK 2.x, as well as the source (I love source. I can read it better than documentation most of the time). There were plugins for doing just what you want to do, IIRC. FitWindow springs to mind, but I think there were others... anyways, those plugins would show you exactly how to do this stuff, I reckon. There's a built in way to get to the iframe too, I think... maybe this does it? FCKeditorAPI.GetInstance('InstanceName').EditorWindow.parent Force be with you! :Den -- The major difference between a thing that might go wrong and a thing that cannot possibly go wrong is that when a thing that cannot possibly go wrong goes wrong it usually turns out to be impossible to get at or repair. Douglas Adam ~| 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:335579 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFTEXTAREA onClick
Thanks again Den! Now I know where the answer liesI just have to RTFM (or source..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:335580 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
On 7/20/2010 2:17 PM, Dave Watts wrote: As this is a vanilla, out-of-the-box installation, that is the LocalSystem account. A) Is this a normal Win7 thing that I have to set permissions for this account to the resources it needs for ColdFusion to do it's job? Well, LocalSystem (or SYSTEM) has all the file permissions it needs. I would have thought so to. But apparently it did not, as I had to open these directories to everyone to get ColdFusion to work with my website. It it is things like this that lead me to believe that there might be something a bit hinky about how my permissions are working on this machine. But I have not been able to narrow this down. As I have no experience with Win7, I don't know what to expect. So I can't tell what is correct improved security behavior and what may not be. B) So I am doing this for the first time ever. Is LocalSystem the account I want to set or should I set some group of which it is a member? If this is your development workstation, this is probably sufficient. For a production environment, you typically want to use a specific user account, as SYSTEM has more privileges than you want CF to have, generally. Which is what we do on our production servers. But I seldom bother until I need to run something on my workstation that access network resources. ~| 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:335581 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?
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:335582 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?
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:335583 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9.0 Windows 7 64bit IIS7 and HTTP Error 500.0
I would have thought so to. But apparently it did not, as I had to open these directories to everyone to get ColdFusion to work with my website. It it is things like this that lead me to believe that there might be something a bit hinky about how my permissions are working on this machine. But I have not been able to narrow this down. This is an IIS issue, not a CF issue. The IIS user (which is not SYSTEM) needs to be able to read/execute the connector files. The IIS user doesn't have these permissions by default in most environments. 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 onsi ~| 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:335584 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
bind a method to all remotely accessed methods in a cfc
Is it possible to bind a private or package method to any method with remote access within a cfc? I want run checks on each request to lock down security but not on the application level. I want to automate this procedure instead of having to place the call inside of each method. I would use reflection in Java. Any thoughts? Example: cffunction name=checkSomething access=remote returnFormat=JSON when this is called bind checkForRemoteness() /cffunction cffunction name=checkIfRemoteOrPublic access=private cfif logic cfabort /cfif /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:335587 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: bind a method to all remotely accessed methods in a cfc
I'm not 100% sure what you're after, but perhaps ColdSpring's remote facade generation stuff would fit the bill? :Den -- Even he, to whom most things that most people would think were pretty smart were pretty dumb, thought it was pretty smart. Douglas Adams On Tue, Jul 20, 2010 at 5:07 PM, Tony Bentley wrote: Is it possible to bind a private or package method to any method with remote access within a cfc? I want run checks on each request to lock down security but not on the application level. I want to automate this procedure instead of having to place the call inside of each method. I would use reflection in Java. Any thoughts? Example: cffunction name=checkSomething access=remote returnFormat=JSON when this is called bind checkForRemoteness() /cffunction cffunction name=checkIfRemoteOrPublic access=private cfif logic cfabort /cfif /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:335588 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: bind a method to all remotely accessed methods in a cfc
ColdSpring has something like what I want but I thought someone might have something that uses GetMetaData() and then grabs the calling method and then checks the access and returns it. I'm just not sure how to do it! I dont want a framework just for this one task. On Tue, Jul 20, 2010 at 4:59 PM, denstar valliants...@gmail.com wrote: I'm not 100% sure what you're after, but perhaps ColdSpring's remote facade generation stuff would fit the bill? :Den -- Even he, to whom most things that most people would think were pretty smart were pretty dumb, thought it was pretty smart. Douglas Adams On Tue, Jul 20, 2010 at 5:07 PM, Tony Bentley wrote: Is it possible to bind a private or package method to any method with remote access within a cfc? I want run checks on each request to lock down security but not on the application level. I want to automate this procedure instead of having to place the call inside of each method. I would use reflection in Java. Any thoughts? Example: cffunction name=checkSomething access=remote returnFormat=JSON when this is called bind checkForRemoteness() /cffunction cffunction name=checkIfRemoteOrPublic access=private cfif logic cfabort /cfif /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:335589 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?
Ive been growing my beard in preparation. On Tuesday, July 20, 2010, Andy Matthews li...@commadelimited.com wrote: 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:335590 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm