Re: Remove all CF comments
This is why we pair program. Eventually everyone on the team has seen each bit of code in the app (or at least most of it) and when new people come along they get to sit with someone who knows the app well and can reinforce the design expressed in the tests. Regardless of skill level they can then maintain the app, because face to face communication works better than written documentation. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 1 March 2012 00:41, Bryan Stevenson br...@electricedgesystems.comwrote: Bingo Steve...well said! On Wed, 2012-02-29 at 08:25 -0500, Steve 'Cutter' Blades wrote: Beautiful sentiment, *if* you didn't inherit a 3500 template legacy application originally written on CF 4. Both (comments and TDD) have their place. Fact is, what is simple and clear and second nature for me is Greek to a noob, and I train those all of the time. Comments are for those who come behind, remembering that not all of them share my level of skill (or my preconceptions of what is right and wrong to do). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350173 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Remove all CF comments
I don't see why you care... -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 1 March 2012 22:30, Dave Watts dwa...@figleaf.com wrote: I just don't see why that's the hill you want to die on. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350176 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Remove all CF comments
Read the tests. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 1 March 2012 22:33, Michael Stemle themanchic...@gmail.com wrote: So what do you do ten years later when nobody on the team was there when the code was written? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350177 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Remove all CF comments
That's misrepresenting the thread. This is more accurate: Me: Don't use comments, use tests. Cutter: Noobs can't read tests Me: That's why we pair program. Michael: What do *you* do if all the developers who worked on the project are long gone? You: Read the tests. (implication; I'm not a noob). -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 1 March 2012 22:49, Dave Watts dwa...@figleaf.com wrote: So what do you do ten years later when nobody on the team was there when the code was written? Read the tests. Wait a sec. Here's a summary of what's been posted. You: Don't use comments, use tests. Cutter, me: Comments can help those who come to the source code later in ways that tests may not. You: That's why we pair program. Michael: What if all the developers who worked on the project are long gone? You: Read the tests. Can you see why that's not a satisfactory answer to the people who disagree with you? 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/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350180 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Remove all CF comments
Try TDD. The unit tests express the design for the code; comments are therefore unnecessary. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 28 February 2012 22:04, Raymond Camden raymondcam...@gmail.com wrote: When you arrive in Heaven with all the perfect code,please send us a postcard. ;) On Tue, Feb 28, 2012 at 7:54 AM, Casey Dougall - Uber Website Solutions ca...@uberwebsitesolutions.com wrote: On Tue, Feb 28, 2012 at 8:16 AM, Michael Stemle themanchic...@gmail.com wrote: This is a pretty simple task to script, but why would one wish to remove all comments? That seems like a poor practice. because code should be self explanatory hahaha. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350133 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Remove all CF comments
Really good tests and self explanatory code do exactly that. Any code that isn't self explanatory is too complex and needs to be re-factored. Code that's so obscure that it needs a comment is silliness. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 28 February 2012 23:32, Michael Stemle themanchic...@gmail.com wrote: This reminds me of the time that Ruby's developers told me that unit tests obsoleted debuggers. This is silliness. Until unit tests can convey developer intent, comments will remain useful. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350142 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: how deeply nested are your code comments?
Yes, I've seen code commented out with commented out code in it. Steps to fix: 1) Commit to Git 2) Delete everything that's been commented out. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 29 February 2012 01:03, Michael Dinowitz mdino...@houseoffusion.comwrote: I know that we all remove unused code and don't comment it out. I know we all use best practices in commenting code. Lets assume you were working on someone elses application that did not do these things and had comments in their code comments. How deeply nested have you seen comments on average? Have you seen comments on code which has in turn been commented out leaving the comments as the second level nested rather than the first? Worse? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350144 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Remove all CF comments
Those using comments to plan code probably don't have any tests. Tests are essential to allow re-factoring with confidence; comments don't provide that benefit. This is not a religious belief, it's something that can be demonstrated the first time you want to maintain a 1500 line file and all you have are comments. In TDD, the test is written first. It expresses the design for the code to follow. When the code is then re-factored, it ensures the code still meets the original design. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 29 February 2012 08:45, Michael Stemle themanchic...@gmail.com wrote: We are in disagreement. Some of us actually use comments as a way of planning and maintaining our code. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350150 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Remove all CF comments
And TDD is the easiest way to cover the re-factoring necessary to prevent 1500 line files from turning up. It's also the easiest way to come up with the good designs that are equally as necessary. Dev shops who've implemented TDD can and do easily measure the improvement in code quality scientifically. Indicators such as number of defects discovered post-deployment (or even during development) are a tangible, improvable measurement. Seriously, instead of being offended, try reading more on Agile practices. This stuff actually works and produces measurably better results and measurably better value for your clients (which is what it's all about). -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 29 February 2012 09:48, Michael Stemle themanchic...@gmail.com wrote: In properly designed code you don't have 1500-line files. Now that I've made my ridiculous assertion can we please move on? This is just silly, and there is no actual reason behind your assertion, merely an arrogant assertion that you know how everyone else's applications are written, and that you have - at long last - discovered a unifying theory in computer science. Tests are great, useful, and absolutely vital to modern development practice... but they are a poor substitute for documentation or debuggers. -- ~ Mike Stemle, Jr. On Feb 28, 2012, at 19:36, James Holmes james.hol...@gmail.com wrote: Those using comments to plan code probably don't have any tests. Tests are essential to allow re-factoring with confidence; comments don't provide that benefit. This is not a religious belief, it's something that can be demonstrated the first time you want to maintain a 1500 line file and all you have are comments. In TDD, the test is written first. It expresses the design for the code to follow. When the code is then re-factored, it ensures the code still meets the original design. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 29 February 2012 08:45, Michael Stemle themanchic...@gmail.com wrote: We are in disagreement. Some of us actually use comments as a way of planning and maintaining our code. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350154 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Remove all CF comments
I should also have added, tests *are* the documentation. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 29 February 2012 09:48, Michael Stemle themanchic...@gmail.com wrote: Tests are great, useful, and absolutely vital to modern development practice... but they are a poor substitute for documentation or debuggers. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350155 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Session variables not working
Actually, a cfapplication tag will work fine outside of Application.cfm so technically this isn't true. Of course it makes sense to use Application.cfm or Application.cfc. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 28 February 2012 04:36, Russ Michaels r...@michaels.me.uk wrote: yes you must have an application.cfm/cfc in order to enable session variables. On Mon, Feb 27, 2012 at 8:28 PM, Rick Faircloth r...@whitestonemedia.com wrote: There's no application.cfc at this point...the only two pages involved are what's in this email. Is enabling session management in an application.cfc necessary for session management to work? As you can see below when I use: cfset session.name = 'rick' and then output that with: cfoutput#session.name#/cfoutput I get 'rick'... But that's on the same page. Would that work but not session variables between pages with session management being enabled in application.cfc? Rick -Original Message- From: Steve Milburn [mailto:scmilb...@gmail.com] Sent: Monday, February 27, 2012 3:18 PM To: cf-talk Subject: Re: Session variables not working Have you enabled session management in the application.cfc? On Mon, Feb 27, 2012 at 3:14 PM, Rick Faircloth r...@whitestonemedia.comwrote: It's been awhile since I used session variables, but this is simple. Why won't this work? session-test.cfm cfset session.name = 'rick' cfoutput#session.name#/cfoutput cflocation url=session-test-2.cfm session-test-2.cfm -- cfoutput#session.name#/cfoutput I get the error 'Element NAME is undefined in SESSION.' ??? Session variables are specified for use in CFADMIN. Am I missing something REALLY simple or obvious? Rick ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350121 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF attack on a buddies server
This would confirm which patches are missing: http://www.hackmycf.com/ -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 24 February 2012 02:46, Pete Freitag p...@foundeo.com wrote: On Wed, Feb 22, 2012 at 7:55 PM, Ras Tafari rastaf...@gmail.com wrote: any idea how they were able to get the file that ran into the cfide directory? and what might prevent that part? that's the most haunting part to him. i said it was probably a windows exploit first... not sure tho. If they are running CF8 without security hotfixes then there is a really good chance that it was the FCKeditor vulnerability: http://www.adobe.com/support/security/bulletins/apsb09-09.html But there are also so many other things ways they could have done it. The bottom line is you want to make sure you have all security hotfixes in place, and then make sure everything is running with the least possible privilege. Otherwise its pretty easy to take control of your server! -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is your ColdFusion Server Secure? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350086 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFScript Book
Well, nobody's better off writing in Java, but C# would be an alternative. On Wednesday, February 22, 2012, Russ Michaels wrote: cfscript to many defeats the who point of why they chose cf in the first place, because it was a html like easy to learn tag based language. When you go down the route of doing all your code in script, using OOP style coding, then surely you would just be better off writing directly in JAVA ? -- -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350016 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: Eclipse RDS to VivioTech stuck at Contacting Server
My first guess is that the server's firewall rules are blocking RDP. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 18 February 2012 16:41, Michael E. Carluen mecarl...@gmail.com wrote: I am finally moving from Homesite to Eclipse. I installed Eclipse/CFEclipse/AdobeCF8Extension (with RDS) on both my Windows and Mac machines. Everything seems to work, except that when I try to RDS connect to my VivioTech server, it only displays the Connecting Server... icon, and never shows the server's file/directory tree. Any suggestions on where I should check to fix it? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349935 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SOT: Eclipse RDS to VivioTech stuck at Contacting Server
Ah sorry, misread. RDS (not RDP) communicates via port 80, so that's not likely the issue. However, I might add that enabling RDS for a production server is an incredibly bad idea. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 18 February 2012 16:48, James Holmes james.hol...@gmail.com wrote: My first guess is that the server's firewall rules are blocking RDP. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 18 February 2012 16:41, Michael E. Carluen mecarl...@gmail.com wrote: I am finally moving from Homesite to Eclipse. I installed Eclipse/CFEclipse/AdobeCF8Extension (with RDS) on both my Windows and Mac machines. Everything seems to work, except that when I try to RDS connect to my VivioTech server, it only displays the Connecting Server... icon, and never shows the server's file/directory tree. Any suggestions on where I should check to fix it? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349936 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Accessing the Application Scope of another App
Did you know you can just write a new cfapplication tag to swap to the other app, delete the key and then swap back again with a subsequent cfapplication tag? -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 9 February 2012 04:13, Brook Davies cft...@logiforms.com wrote: Hi, Can you guys tell me if this is bad practice or will lead to memory issues. I have a CF app that has the main app and an admin module, each with their own cfapplication, and application namepace. From within the admin app I need to clear some application scoped data in the main app. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349843 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: New computer set up
Just email coldfusionbuil...@freeriatools.adobe.com and let them know what's happened. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 5 February 2012 13:08, Steven Durette sdure...@prodigy.net wrote: Thanks for the idea, but I am a student and this is a freeriatools.adobe.com installation (yes I am still a full time student). So no online account. I still have the original email from adobe that I installed it with before. I have the feeling it is one of those things that you have to remove the serial number from the old computer, but it completely died. No possibility of choosing to remove it from the old computer. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349776 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Opinion: Abuse of session variables
Race conditions in session variables can only occur when two requests from the same session execute concurrently. This is more likely with ajax requests or framesets. Since everyone uses ajax requests these days (even though no-one uses framesets any more), it is still an issue, as you say. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 2 February 2012 05:53, Mike Chabot mcha...@gmail.com wrote: Race conditions are what I am referring to and they are a problem, even in CF9. Many developers either heard or read that the earlier problems with session variables have been fixed and that they no longer need to ever lock them, but this is not true. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349733 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: opencfsummit.org may have saved my job
As an aside, if a client wants to cut costs they can always go with Railo, into which they can port CF code almost as-is. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 7 January 2012 20:39, Donna Bing bingdo...@ymail.com wrote: Hi all! I asked about this conference http://opencfsummit.org a year ago and the conversation kind of went off on various tangents: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:62499 Anyway I didn't end up getting to go because of a schedule conflict with a project we were launching - Im a contractor in northern virginia. But just hearing about a conference on open source coldfusion bought some time with our client who has been getting lobbied pretty heavily to cut costs by moving to php and drupal. Anyway Im just wondering if others have had similar experiences and if anyone is planning on going. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349327 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XML! Aaargh! How do I do this?
Try searching directly for the modelName: cfset result = xmlSearch(xmllennox-products,//modelName) Dump that result to see how to get the name. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 2 January 2012 09:18, Rick Faircloth r...@whitestonemedia.com wrote: At this point, all I'm really after is the modelName/text() ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349288 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XML! Aaargh! How do I do this?
BTW, the issue with the existing code is this: xmllennox-products CF thinks you are trying to do maths on xmllennox and products by subtracting one from the other. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 2 January 2012 10:10, James Holmes james.hol...@gmail.com wrote: xmllennox-products ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349289 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: XML! Aaargh! How do I do this?
If you are just after products, you can dramatically simplify the code by using xmlsearch() to get them with xpath instead of manually looping multiple levels down. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 31 December 2011 08:50, Justin Scott leviat...@darktech.org wrote: Okay... I've worked this every way I can think of and, I admit it, I just don't get it. Hi Rick, replace your inner-most loop with the following. It should get you going in the right direction. It looks like there is another layer of sub-categories which needs to be accounted for: !--- Loop over the sub-categories --- cfloop from='1' to='#arrayLen(xmlProductContent.products.SubCategory)#' index='subCategoryCount' !--- Localize our current sub-category --- cfset thisSubCategory = xmlProductContent.products.SubCategory[subCategoryCount] / h2#thisSubCategory.SubCategoryName.xmlText#/h2 !--- Loop over the products in this sub-category --- cfloop from=1 to=#arrayLen(thisSubCategory.Product)# index=productCount !--- Localize our current product for easier access --- cfset thisProduct = thisSubCategory.Product[productCount] / !---cfdump var=#thisProduct# /--- p ID: #thisProduct.xmlAttributes.ID#br / Model Name: #thisProduct.ModelName.xmlText#br / Image: img src=#thisProduct.SmallImage.xmlText# / /p /cfloop !--- Products --- /cfloop !--- Sub-Categories --- -Justin Scott ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349275 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Converting scientific notation to pure numeric
Try removing the space between the E and the exponent, or replacing it with + -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 26 November 2011 15:30, Mike Kear afpwebwo...@gmail.com wrote: I'm having a brain fade at the moment, or perhaps it's a senior moment.Hopefully someone here can help.An external device is sending data to my website in XML format, which my site processes and makes available to logged-in users. It's worked fine for more than a year, but for the first time, we have a value that is calculated in the external device and has a recurring decimal value. So now instead of a simple value with 4 decimal places, I'm dealing with a value like '9.09090909090909E 106' ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348871 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Adobe drops Flsh for mobile devices
Sure - on CF Community. This is a technical mailing list, not Oprah. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 12 November 2011 08:16, Judah McAuley ju...@wiredotter.com wrote: I don't know, Wil, I think that the topic of tone and tenor of responses to mailing lists (empathy vs correctness in Rick's terminology) is an excellent discussion for a community to have. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348692 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF in the news
Either bad reporting or the politician involved is a lunatic. How is the logging portion of ColdBox supposed to track all internet users' activity? -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 21 October 2011 23:32, John M Bliss bliss.j...@gmail.com wrote: Interesting: http://www.businessinsider.com/eu-parliament-member-proposes-black-box-to-trace-citizens-web-history-2011-10 -- John Bliss - http://about.me/jbliss ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348291 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Shouldn't these statements work?
Also not a word. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 15 October 2011 17:58, Russ Michaels r...@michaels.me.uk wrote: dictionaryophile ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348181 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfobject dotnet assembly
You can't create an instance of that class that way. http://msdn.microsoft.com/en-us/library/microsoft.web.administration.sitecollection(v=vs.90).aspx says, public sealed class SiteCollection : ConfigurationElementCollectionBaseSite This class is sealed and does not implement a public constructor. You can access the SiteCollection class through the Siteshttp://msdn.microsoft.com/en-us/library/microsoft.web.administration.servermanager.sites(v=vs.90).aspx property of the ServerManagerhttp://msdn.microsoft.com/en-us/library/microsoft.web.administration.servermanager(v=vs.90).aspx class. Since it's not static, you need an instance, but since there's no public constructor, you have to get that instance via ServerManager.Sites. ServerManager does have a constructor and all the methods/properties you need to get at the rest of the things you are trying to configure. http://msdn.microsoft.com/en-us/library/microsoft.web.administration.servermanager_members(v=vs.90).aspx -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 15 October 2011 13:51, Akos Fortagh akos.fort...@yahoo.com wrote: Microsoft.Web.Administration.SiteCollection ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348182 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Amazingly annoying concurrent CFC variable issue
I'll bet you didn't var the query as well: cfset var GetRecord = cfquery name=GetRecord datasource=#Application.AppDatasource# SELECT RecordID,RecordTitle FROM Records WHERE RecordID = cfqueryparam value=#arguments.RecordID# cfsqltype=CF_SQL_NUMERIC /cfquery Using the local scope (as others have said) makes this less of a pain. cfquery name=local.GetRecord ... -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 15 October 2011 23:46, Tavs Dalaa j...@dalaa.com wrote: Tried to Var and cflock, ie: cflock name=Lockname timeout=15 type=exclusive cfset Var GetRecord = Application.Functions.GetRecordFromRecordID(arguments.RecordID) /cflock ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: encrypted files
Don't do anything else without your lawyer going over the original contract under which the software was supplied. The original devs may be correct and for all you know your current clients may be attempting to have you violate copyright. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 10 October 2011 20:54, Akos Fortagh akos.fort...@yahoo.com wrote: hi everyone, any suggestion about this would be very much appreciated. I have been given some work to make some changes to an existing site and all the .cfm and .cfc files are encrypted. The original developers are REFUSING to supply us with the decrypted version even though the client says they own the site/pages which they paid big bucks for. The developers say yes the client does own the pages but only in encrypted format which to me means owning a car which has no body or engine. I've tried this tool http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailextid=1007043but all files became 0KB with nothing in them. What can I(we) do? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348034 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: detecting mobile devices
Yes: use WURFL. This might be useful: http://cfwurfl.riaforge.org/ -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 4 October 2011 22:20, Don danfar...@hotmail.com wrote: We have a requirement to 'detect mobile devices'. ... are there any recommendations. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347879 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: WSDL 404 Error
Back on our old CF servers (6 or 7, I can no longer remember) we needed to create a mapping that matched the physical path to fix this issue. So if our cfc was in http://mydomain.com/some_folder/hello.cfc, we needed to create a CF admin mapping for /some_folder/ to the physical path. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 25 September 2011 06:19, Shannon Rhodes shan...@rhodesedge.com wrote: Right. It can't find it. That's my problem: ColdFusion is supposed to create it automatically: ColdFusion automatically creates a WSDL file for any component referenced as a web service. For example, if you have a component named echo.cfc in your web root directory, you can view its corresponding WSDL file by requesting the component as follows: http://localhost/echo.cfc?wsdl; http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservices_19.html So folks, does anyone know what to do when ColdFusion fails to create the WSDL?? If you can't take the WSDL URL for your web service and load it in a browser ON the server, CF can't load it either. The 404 from your CFHTTP call is a good indication that CF simply can't find it. .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com Why would there be an issue resolving the domain? CFM files work fine from the same directory when called via url. Is there some other step to making a web service available that I'm missing here? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347694 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF Standard License
Have you considered Railo? Its pricing is really, really competitive. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 24 September 2011 01:45, Richard White rich...@j7is.co.uk wrote: Hi, Am i right in understanding that the only places to get CF9 Standard licenses are from Adobe or hosting companies? Our hosting company doesn't resell them and we looking for the most competitive pricing! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347674 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: *OT* CVS for NT
Consider Git with TortoiseGit as well. Git has made our lives better than they were while using SVN. -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 9 September 2011 21:51, Greg Morphis gmorp...@gmail.com wrote: Okay cool, I'll install SVN on our dev server and see how it goes, thanks for the information! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347371 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Workstation recommendations
You know the hardware has absolutely nothing to do with getting a virus, right? -- Shu Ha Ri: Agile and .NET blog http://www.bifrost.com.au/ On 8 September 2011 09:28, Peter Donahue pdonah...@satx.rr.com wrote: Good evening everyone, This past week must have been computer-workstation die-off or something. My wife's computer became infected with the PC Performance Virus. This thing is a nasty as it locked her out of many of her programs, caused a black screen to appear when the monitor was turned on and the computer booted in to Windows, messages from Twitter and God only knows where else to be displayed and wouldn't allow her to see any of her data files. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347300 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How do you compose your dev teams?
You mentioned that all of your team are remote workers, right? Distributed Agile is painful. Latitude hurts and longitude kills. This is really good advice: http://agileinaflash.blogspot.com/2011/04/rules-for-distributed-teams.html Agile is hard enough to introduce when everyone is in the same room. It's going to be nearly impossible without a very experienced Agile coach for your situation. My advice is get a good Agile consultant to help you work out all of these issues (this person can start as the SCRUM master). -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 3 September 2011 08:12, Nathan Strutz str...@gmail.com wrote: Tariq, Very thoughtful response. I appreciate it! We haven't fully embraced Agile in our group. Mostly for the fact that it's a pain nobody wants to suffer, so we find ways to get around it. I guess that's where the scrum master role comes in. I don't know that we have anyone that forceful on the team. We probably have some who are forceful against it though. I like the idea of syncing up sprints between projects, so we all have the same release schedule - that would make it feel more like we are working at the same pace, same schedule and together. What did you have to do to make your team take the agile pill? Did you (or do you still) have any holdouts? nathan strutz [www.dopefly.com] [hi.im/nathanstrutz] [about.me/nathanstrutz] On Fri, Sep 2, 2011 at 3:24 PM, Tariq Ahmed ta...@dopejam.com wrote: So my question to the list is this: How do you organize your teams of developers successfully? Please let me know what you do, or what you have seen that actually works. Hi Nathan. I manage a team of 11 technical folks, and when I was promoted to management we had a similar challenge. Internal teams that build apps that support the business tend to get into this silo'd structure because what they're building has a specialized purpose, and as the business demands more of these specialized applications, it usually starts off with just one guy building it... and then they become the lone expert. With a heavy demand for change, the low hanging fruit it to use the guy who knows the app vs. risking someone unfamiliar with it who'll have to go through the learning curve. Management wise, it is a motivator to give people ownership. But, it is also a huge risk to have SPOKs (Single Points of Knowledge). Sure you can have knowledge bases, Yammer.com, IMs, Wikis, etc... and it's good to do that, but that's just information. It's only until you have a deep understanding of the domain/context are you able to leverage that information as knowledge. One technique I used was to maintain is a Knowledge Matrix of all our applications/features, I map out who knows what and what their strength is, and how critical/complex that feature is in order to calculate risk. I can then prioritize by risk, and make sure that other developers are getting exposure to these areas. Another highly successful thing we did was switching to Agile/Scrum development practices. Although you guys on a Visio chart are one team, you're functioning as independent one man teams. A Scrum practice you can start tomorrow are daily standups - from 10am to 10:15am everyone stands up together and discusses what they did yesterday, what they're doing today, and if they're stuck on anything (in order to invite others to help). It's time limited, no additional conversation allowed - that can be done outside of that meeting, no sitting down and getting comfortable... the team needs to feel confident that it never ever goes beyond 15mins. It'll help promote some awareness of what everyone is doing and encourage some communication. But it won't be enough to solve the problem as no one will really know deeply what you're talking about unless they're very familiar with the application. So the next step would be to truly get the team functioning together cohesively by going full Agile. Everyone is working together on the same cycle, and although different applications, you're working together as if it were one project. Very short iterations of 2 to 4 weeks, requirements are broken down into small little pieces - the team picks who is working on what, but no one is limited to working on just their app. You can try to learn it yourself - but getting in an agile training organization like cPrime.com to give your company a 3 day onsite bootcamp on how the process works is the fastest way to make it happen. Hope that helps. Tariq Ahmed http://www.aftershox.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347212 Subscription:
Re: Problem with pound signs
Alternatively, set the the outgoing mail's failto address to a different mailbox, so you know that all mail going to that box is a failure. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 23 August 2011 20:07, Russ Michaels r...@michaels.me.uk wrote: yes but auto responders and server delayed mails do not know that, so if you just consider all emails that come into thsi mailbox to be bounces you could be deleting legitimate users. On Tue, Aug 23, 2011 at 1:01 PM, matt busche mrbus...@gmail.com wrote: this is a no reply inbox, so there aren't any legitimate emails sitting in here. Deleting any message with reply or delay in the body is going to cause some valid messages to be lost because both words are in common usage. Just a thought. DEL ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346960 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Developer edition not recognizing 9.01
Which executable did you run: http://download.macromedia.com/pub/coldfusion/updates/901/ColdFusion_update_901_WWEJ_win.exe or http://download.macromedia.com/pub/coldfusion/updates/901/ColdFusion_update_901_WWEJ_win64.exe -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 10 August 2011 03:01, Doug Ford doug.e.f...@gmail.com wrote: Hi Folks - I am looking for some help in trying to figure out what the heck is happening with my CF 9 and why it's not recognizing the 9.01 upgrade. I am running this on a Win 7 Pro box, with Apache 2.2 running, and ColdFusion 9 Developer currently installed and running fine. I downloaded and installed the 9.01 update to get the S3 functionality, but CF Admin is not recognizing the update. I restarted services and even rebooted my machine, but CF does not recognize the .jar file in the Updates directory. I am not sure why it's not working. Any and all help would be appreciated. Thanks, Doug ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346636 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Method Opinion
Avoid the delimited list idea; it always bites you on the arse eventually. Use the first option. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 1 August 2011 21:46, Robert Harrison rob...@austin-williams.com wrote: Curious as to what you all think is the best method for something. I have a table that contains a list of polls. I have a user table that contains a list of possible persons who may complete the poll (it requires log-in access). I want to present a poll only one time so users can't complete a poll more than once, so I need to maintain a list of users who have completed a poll. I see two ways I can do this: 1. I can create a cross reference table that keeps users ID and Poll IDs (of users/polls completed), then use an SQL NOT IN to select polls for users who are NOT IN the completed poll table. 2. I can add a field in the POLLs record and put a delimited list of User IDs who've complete the poll, then not select any polls where the COMPLETED field contains the user ID of a given user. There are about 1,500 users. There will probably be not more than 10 polls going on at any one time. Poll history will be maintained for about 60 days. Thus, there may be thousands of COMPLETED records. Given that, is one of these methods better than the other, and if so, why? Should I use a delimited list in the POLL record, or should I use a cross-reference table with a join and NOT IN select... or should I do something different. Thanks Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346419 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Method Opinion
And I was almost going to say, but Claude will post that a delimited list is a great idea to save you the trouble. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 2 August 2011 02:43, wrote: A cross table is definitely THE standard way to do it. Although it is not considered good practice by database ayatollah, a delimited list may be an option when a reasonable number of possible values is involved. there are several advantages: 1º it is simpler to update in the database in case of modifications (only one field in one query); 2º the list is return directly in a list of checkbox input fields. 3º the select query returns directly a list, I'm still looking for a way to get directly a list in a query using a cross table. 4º CF is especially well equiped for list manipulation. However you have to make sure that the number of possible values cannot get too large in the future. For instance I use this technique for registration to activities in a convention. Participants will never attend thousands of activities, even in a 15 days convention. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346440 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Method Opinion
I'm not sure how your religious prejudices come into this, but whatever. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 2 August 2011 08:08, wrote: I just hate ayatollahs ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346443 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Its ColdFusion's Fault
I guess when Google+ finally destroys Facebook, the same open source tools he's glorifying will have caused that failure. Regardless, Myspace hasn't run on CF for a long time (as suggested, they migrated to .NET via BlueDragon ages ago). Myspace failed because it was full of ugly sites with content no-one wanted to read. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 26 July 2011 18:00, Kevin Pepperman chorno...@gmail.com wrote: Just to add to that-- ColdFusion is responsible for the success of Bank of America as well as many other successful websites (well one of the reasons anyway ;-) Didn't MySpace convert to .NET at some point? -- /Kevin Pepperman *Never memorize what you can look up in books*. --Albert_Einstein ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346328 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Passing a Ref_cursor to Oracle Stored procedure
The short answer is that you can't do this from CF. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 23 July 2011 00:09, Dave Smith cyl...@yahoo.com wrote: Has anyone ever passed a cf_sql_refcursor as an IN param to an oracle stored proc? I am getting the following error when I try it: [Macromedia][Oracle JDBC Driver]Unable to determine the type of the specified object. The proc works when called from another procedure w/ in Oracle but not from CF. cfstoredproc datasource=#application.dsn# procedure=#insertProc# cfprocparam type=in cfsqltype=cf_sql_refcursor value=#qUpdatesIDs# /cfstoredproc qUpdatesIDs = a query o ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346316 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Iphone app
One free alternative is Sencha Touch (http://www.sencha.com/products/touch/), but I'd probably try to stick with jQuery Mobile too. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 29 June 2011 22:47, Al Musella, DPM muse...@virtualtrials.com wrote: Hi I need to write either an app for the iphone or at least a website that looks like a app.. I have been looking around for toolkits and there are an overwhelming number of choices that I don't know where to start. I need: 1. easy coldfusion integration (so based on html not coco) 2. Preferably usable on a pc.. I have access to a mac but not easily. I can use it to compile and upload the end result if needed. 3. easy:) 4. Cheap or free. (It is for a nonprofit) I have been playing around with jquery mobile. I love jquery but the jquery mobile docs suck.. Any ideas? Al ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345892 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF vs. Java Web Developer
Anyone who wants to fix the problem of distracted programmers in the office should try Pair Programming. http://www.extremeprogramming.org/rules/pair.html -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 25 June 2011 02:10, Aaron Rouse aaron.ro...@gmail.com wrote: I am far less distracted when working from home. I typically will get more done in 8 hours at home than I probably get done in at least 16 hours in one of the offices I work out of. I actually feel like I goof off more at home then when in an office but can't say I ever tried measuring such things. It is not just an issue of if someone is capable of efficiently working from home. Also an issue of if the people managing them can efficiently manage people they might never or hardly see in person. Some people just have to see others in person. What I see a lot for employees who work from home is they seem to get passed up for promotions and raises more so than the ones that work in the office. On Thu, Jun 23, 2011 at 8:49 PM, Sean Corfield seancorfi...@gmail.comwrote: On Thu, Jun 23, 2011 at 4:34 AM, Russ Michaels r...@michaels.me.uk wrote: working from home doesn't work for a lot of people though, there are too many distractions There are too many distractions _for you_ but WFH works very well for a lot of organizations. World Singles, for example, is completely distributed - management, sales marketing, customer service, engineering - everyone works from home. There are certainly some _people_ for which WFH doesn't work :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345659 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: application.cfm
No. Happy now? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 26 June 2011 07:19, wrote: My question was is it possible to get around this. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: So to flog the preverbial undead horse
As far as I can tell, when a larger entity swaps away from CF it's generally in favour of C# on .NET. My employer and a few of the larger dev shops I talked with have been making this move. If you're spending time on .NET, I suggest getting into MVC3 and sticking with C#. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 June 2011 23:45, Integration Developer tyrsbl...@gmail.com wrote: In my spare time I am doing mobile development with unity3d and C#(Mono). I have a large SQL dev background I can fall on with SSIS and SSRS. But I wanted a frank gut check from the troops on where we are at and what our future looks like. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345277 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Debugging SOAP
One issue the OP faces is that the traffic is HTTPS. The request will have to change to HTTP before anything useful will show up. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 24 May 2011 16:14, Jochem van Dieten joch...@gmail.com wrote: On Tue, May 24, 2011 at 9:55 AM, Robert Rhodes wrote: Hello Jochem. I checked out Wireshark, but did not see a way for it to show me the XML I was sending. Am I missing something? It looks like Wireshark is a packet capture tool? Yes, it is a packet capture tool. It allows you to drill down in the results until you reach the SOAP data in the HTTP payload. Just keep expanding the results until you reach it. Jochem -- Jochem van Dieten http://jochem.vandieten.net/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344859 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Debugging SOAP
SSL is designed to stop you doing exactly that. You would need to send your request to a proxy that has a spoofed certificate, all of which is a pain to organise. On Tuesday, 24 May 2011, Robert Rhodes rrhode...@gmail.com wrote: Yes, that is the case. And all my attempts so for to view the https xml and response have failed. This is probably because there is some part of this that I am just not getting. -- -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.or ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344862 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Debugging SOAP
-- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 24 May 2011 22:07, Brook Davies cft...@logiforms.com wrote: I use Fiddler (http://www.fiddler2.com/Fiddler2/version.asp ) for debugging web service calls and it can dump the raw XML request/response and allows you to inspect HTTPS traffic... Brook -Original Message- From: Robert Rhodes [mailto:rrhode...@gmail.com] Sent: May-24-11 1:00 AM To: cf-talk Subject: Re: Debugging SOAP Hi Pete. I did try soapui, and it looked like it should do what I wanted, but I could not figure out how to make it work so that I could capture the outgoing soap and responses between my dev server and the remote server. On Mon, May 23, 2011 at 11:04 AM, Pete Freitag p...@foundeo.com wrote: SoapUI is a great tool for debugging soap: http://www.soapui.org/ If you give it a WSDL url it can generate stubs for testing the remote service and lets you see and edit all aspects of the soap request and response. -- Pete Freitag - Adobe Community Professional http://foundeo.com/ - ColdFusion Consulting Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is your ColdFusion Server Secure? On Sun, May 22, 2011 at 7:16 PM, Robert Rhodes rrhode...@gmail.com wrote: Hello everyone. I appreciate the help you have given me recently. Now I have a new challenge, and I am sure some of you have faced it before. I have written an application that gets and puts data to a SOAP .asmx web service running on a windows server across the internet. I am using cfinvoke. All my gets are working fine. I am getting the expected data. However all my puts are failing, and the guy at the other end says my soap xml must be wrong. Hey, it might be, but I have not been able to come up with a way to see it. I did a google search and found Fiddler and Charles, and installed them both on the dev server which is running my application. But no luck. Each program seems to monitor the traffic between my browser and local dev server, but I need to monitor traffic betwen dev server and the other server across the internet (on a non-standard ssl port). Would one of you kind souls tell me how to configure one of these programs (or some other program) so I can see my SOAP going out and see the response? RR ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344867 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Debugging SOAP
Yes, the fiddler proxy is worth a shot. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 24 May 2011 22:07, Brook Davies cft...@logiforms.com wrote: I use Fiddler (http://www.fiddler2.com/Fiddler2/version.asp ) for debugging web service calls and it can dump the raw XML request/response and allows you to inspect HTTPS traffic... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344868 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SQL Quandary
Why not just add the subquery in as part of the where clause for each type of record you want? On Monday, 23 May 2011, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: Thanks Russ, I agree, I can't see a way around it using CASE or JOINS. -- -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344829 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SQL Quandary
It can be. Taking your last example: IF (SELECT checkProjected FROM tbl_Params WHERE siteID = 1) = 1 select projected from tbl_stockItems where projected 10 else select projected from tbl_stockItems where projected 10 This can be written as: select projected from tbl_stockItems where ( (SELECT checkProjected FROM tbl_Params WHERE siteID = 1) = 1 AND projected 10 ) OR ( (SELECT checkProjected FROM tbl_Params WHERE siteID = 1) 1 AND projected 10 ) Since the subquery clause can only be true for one of the AND clauses, only one set of results will be returned. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 23 May 2011 09:29, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: because the intention is not a simple WHERE search expression. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344832 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion and AJAX choices
1) It's 90k minified 2) Those 10 lines will inevitably be 1 line of jQuery 3) Those 10 lines will work in your favourite browser; then you find that IE x has some quirk you didn't count on, etc 4) You and Claude S will best friends, I can tell -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 19 May 2011 14:42, Andrei Kondrashev adiab...@cs.com wrote: Carrying 300K of JS code (min) just to do something that takes 10 lines (or less) of JS code is nonsense. Not even speaking about its terrible performance. jQuery + infinit ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344639 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion and AJAX choices
Yes; ignore everything in that list and use jQuery. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 17 May 2011 23:50, Darius Florczyk dar...@cybermash.com wrote: Hi, I need to add AJAX functionality in a new project and wondering if anyone had any recommendations for the most robust, stable choice. I will be using it with CF7 but need for it to be easily portable to Railo. The need is to easily load CMS content in to DIV layers depending on the users selection and posting of form submits with confirmation alerts. So far I was looking at ajaxCFC, Prototype, maAjax, CFAjax, JSMX, ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344574 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Ack! CF9 pages not serving pages on IIS7.5 (404.3 error)
On 13 May 2011 13:08, Robert Rhodes rrhode...@gmail.com wrote: There just has to be a decent workaround for this problem. There is: http://projects.apache.org/projects/http_server.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344486 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrating a DB from MS SQL 2000 into MySQL latest release
Works for me. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 11 May 2011 11:26, Dave Watts dwa...@figleaf.com wrote: You could always both swap to a real database: http://www.oracle.com/technetwork/database/express-edition/overview/index.html Your DB2 link is broken. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344439 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrating a DB from MS SQL 2000 into MySQL latest release
No. Not all DB's are equal just because they all run SQL. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 11 May 2011 10:45, Maureen mamamaur...@gmail.com wrote: They are all real databases. The majority of the problems that website databases have are caused by badly written code, inefficient queries and poor performance tuning, and have nothing to do with the database platfor ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:30 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrating a DB from MS SQL 2000 into MySQL latest release
Or like this: http://www.google.com.au/search?sourceid=chromeie=UTF-8q=ms+sql+express+corrupt+tables -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 10 May 2011 22:31, Russ Michaels r...@michaels.me.uk wrote: The common problems and issues can be googled, like this for example. http://www.google.co.uk/search?q=mysql+corrupted+tablesie=utf-8oe=utf-8aq=trls=org.mozilla:en-GB:officialclient=firefox-a ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344404 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Migrating a DB from MS SQL 2000 into MySQL latest release
You could always both swap to a real database: http://www.oracle.com/technetwork/database/express-edition/overview/index.html :-O -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 11 May 2011 08:51, Russ Michaels r...@michaels.me.uk wrote: lol, of course not :-) We will have to agree to disagree. I will stick with my super ninja bionic kitten, you stick with your extinct Jurassic fossil :-) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344423 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Bless cfqueryparam - helped defend against a persistent hack attempt
Sure, your MS Access DB doesn't cache execution plans, but real databases do. On Tuesday, 3 May 2011, wrote: cfqueryparam creates bound sql parameters, which improve query performance. This is purely theoretical, in practice, the gain in performance is neglectible. I prefer have a query to take 11 ms and see the values submitted in case of error, than having the same query take 10 ms, but no information in errors. -- -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:344150 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Any secure data transfer methods avaiable for very large files?
It doesn't have to be expensive: http://openvpn.net/ -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org On 24 April 2011 10:25, Jenny Gavin-Wear jenn...@fasttrackonline.co.uk wrote: It is unlikely to be a cheap solution, but it will have the potential to be a robust and secure solution. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343952 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: GeoTrust SSL importing cert to server store doesn't help
Yes. Vist the URL for the test site in your browser and view the cert details. Go to the certification path and you'll see it's a chained cert with two CAs in the path. You need to export both of them from your browser and then bring both into the CA keystore with keytool. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 12 April 2011 15:55, Duncan duncan.lox...@gmail.com wrote: Could this be some new type of SSL certificate and I actually need the root CA cert? If so, how do I go about finding this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343669 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: GeoTrust SSL importing cert to server store doesn't help
Just the two CAs from Geotrust will be fine. The intermediate cert was issued in 2010, so it's very likely that it's not in your CA store. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 12 April 2011 16:08, Duncan duncan.lox...@gmail.com wrote: Hi James - Thanks for the quick response! Yes. Is that a yes because its a new fancy certificate, or I need all the certs? When I look at the hierarchy, there are 3 each with different serials. Do I need just the two geotrust ones, or the securepay one too? On Tue, Apr 12, 2011 at 6:01 PM, James Holmes james.hol...@gmail.comwrote: Yes. Vist the URL for the test site in your browser and view the cert details. Go to the certification path and you'll see it's a chained cert with two CAs in the path. You need to export both of them from your browser and then bring both into the CA keystore with keytool. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 12 April 2011 15:55, Duncan duncan.lox...@gmail.com wrote: Could this be some new type of SSL certificate and I actually need the root CA cert? If so, how do I go about finding this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343671 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: I hate CFScript and I'm willing to pay for a CFScript -- CFtag parser
That is the greatest thing ever. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 9 April 2011 04:55, Judah McAuley ju...@wiredotter.com wrote: Start here, Michael: http://www.pcworld.com/article/224722/new_commodore_64_is_finally_herefor_real.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343632 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: 9.01 updater - the nightmare relived
On 25 March 2011 23:48, Dan Baughman dan.baugh...@gmail.com wrote: The tag handler application does not have a setter for the attribute datasource specified in the Tag Library Descriptor. Does anyone have the final solution/fix for this? http://www.getrailo.org/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343272 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: coldfusion service stop rsponding or CPU goes up tp 100%
Your perm size is way too small for a heap of 4GB (assuming you use a good portion of that heap). Check the logs for error messages just before the service locks up and you'll probably see out of memory errors. If so, make the perm size larger. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 22 March 2011 20:17, tom vallee tom...@numerique.ca wrote: i upgrade to the latest JDK version and the coldfusion stop responding this night at 3 am it doesn't solve my problems Are you stuck on that JDK version for any reason? The first thing I'd do would be to upgrade it. It is 20 updates behind. Next, have you checked anything like jconsole to see what is going on when this spike happens? .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com HI, i have a few problems with one of my server : Win2008 R2 Coldufsion 8.0.1 x64 Java 1.6.0_04 Dual Xeon Quad Core 32gb RAM Sometimes the CPU goes up to 100% and I need to restart the coldfusion service and everything goes back normal Sometimes, coldfusion stop responding, if i type my website in internet explorer, it's not responsing but IIS is responding i think it might be the JVM settings, here are my jvm settings java.args=-server -Xmx4096m -Xms4096m -Dsun.io.useCanonCaches=false -XX:PermSize=64m -Xincgc -XX:NewSize=48m -XX:SurvivorRatio=4 -XX:MaxPermSize=192m -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/ ../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB- INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars,C:\\Program Files (x86)\\Efflare\\ImageCR3Service\\imagecr3.jar help! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343196 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ColdFusion 9 Enterprise Features
http://www.adobe.com/products/coldfusion/editions/ -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 21 March 2011 17:15, Richard White rich...@j7is.co.uk wrote: Hi, I am assuming it means i am getting a bit rusty at searching the web, but i cannot seem to find anywhere that details the enterprise-only features. We only need to run a single instance on a server but am trying to work out whether we need standard or enterprise license... Would appreciate any links that details the difference thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343148 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Application.applicaitonName not avialable in a webservice.
On 12 March 2011 06:51, Bobby Hartsfield bo...@acoderslife.com wrote: The problem I have run into is that application scope (and thus application.applicationName) is not available from within the webservice. Why not? Is the webservice CFC not part of the same directory structure that has your Application.cfc at its root? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342950 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Database Lookup - Possible with CF?
(Apologies for going off topic) Forget MVC2 - MVC3 is far more flexible and has made a lot of improvements. In the long run, getting up to date with MVC3 now is going to be worth it. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 3 March 2011 19:11, Ian Vaughan i.vaug...@neath-porttalbot.gov.uk wrote: Thanks - Will take a look at it and evaluate how it compares with doing it with ASP.net webforms or ASP.net MVC2 as its going to be a learning curve whatever language I do it in, I suppose I'm leaning toward ASP as this has a greater lifespan compared to CF. The reason of my asking in CF was if it was relatively easy to do I would have gone that route but if there is a similar learning curve to do it in VB then this would be a more scaleable and supported path ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342714 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Storing decimal parts of a second cfqueryparam
You need to set the scale attribute in the cfqueryparam tag. http://cfquickdocs.com/cf9/?getDoc=cfqueryparam -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 1 March 2011 10:43, Pete Ruckelshaus pruckelsh...@gmail.com wrote: Primarily because it's easier and more accurate to sort on a single overall value (inches). Of course, if it were up to me, we'd be using metric :) On Mon, Feb 28, 2011 at 7:12 PM, Roger Austin raust...@nc.rr.com wrote: On 2/26/2011 10:08 PM, Pete Ruckelshaus wrote: OK, just not my night with decimal values. Trying to store distances (for throwing and jumping events), which are measured in feet and inches. In order to maintain proper sort order, I decided to convert feet and inches (with fractions of an inch as decimal value) to inches with fractions of an inch as decimal values. Again, database is SQL Server 2008, and I'm using cfqueryparam. Data type for the column in question is decimal(18, 4), and I'm using CF_SQL_DECIMAL as the cfsqltype value. I can see in the debug output that the decimal portion of the value is part of the value to be inserted, for instance, 825.25, but looking at the database table, the stored value is 825. Why not store two fields; one for feet and one for inches. That seems like the easiest way to do it other than just use one float for both. The decimal issue is probably more a database issue than a CF issue. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342631 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Well, here's Adam's promotion: http://www.adrocknaphobia.com/post.cfm/i-lvl-d-up-flash-builder-product-manager I'll leave it to others to decide if they are in the wrong job. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 16 February 2011 02:17, Russ Michaels r...@michaels.me.uk wrote: Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342312 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
For the many CF customers outside of the US, these positions have always been offshore. Time to join the rest of us on the planet. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 15 February 2011 11:52, cft...@fusionlink.com wrote: I did use the word offshore, ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342258 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is Coldfusion losing it biggest asset?
Not many, in my employer's case. Now I'm a .NET developer. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 January 2011 22:06, Eric Roberts ow...@threeravensconsulting.com wrote: How many times does a company have to look for CF devs and not find any before they move on to a different language? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340862 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Is Coldfusion losing it biggest asset?
Railo. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 January 2011 09:03, Charlie Griefer charlie.grie...@gmail.com wrote: Sure, but PHP, Ruby and other languages don't have an up front cost associated with them. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340807 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Accessing Specific CF8 Instances
You can access the administrator for a particular instance using the internal JRun webserver port. If you want to get to your apps on a particular instance you'll have to manipulate cookies (assuming you're using sticky sessions) so that the session ID starts with the the correct prefix for the instance you want. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 6 January 2011 08:13, Richard Steele r...@photoeye.com wrote: Is there a way to access particular instances that are running on a load balanced CF8 Enterprise server? If so, how is that done? thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340492 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF8 Administrator's Debugging Options
Visitors to your production server should never see the raw exception information, robust or not. Debugging should also be turned off on a production server. Create a custom exception handler template that either displays to you the necessary info based on IP address or alternatively sends to you via email the relevant info. This way visitors get only what you decide they should get. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 4 January 2011 20:31, Richard Steele r...@photoeye.com wrote: I don't understand how the Debugging options with a specific IP Address works. If I check the Enable Robust Exception information on a production server (we have no development server) and include only a specific IP Address, our website still shows the Robust Exception information to ALL visitors to the website. Obviously this is not acceptable. If the Enable Robust Exception information is disabled and Enable Request Debugging Output is enabled, what information is then shown only to that specific IP address? Is there a way to show the Robust Exception information to only the developer's IP address without having a development server? Thanks in advance. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340364 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: What Notable Differences are there between Railo, Open Bluedragon, and Adobe Coldfusion? [Stackoverflow.com]
http://www.getrailo.org/index.cfm/documentation/compatibility/cfml-compatibility/ -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 21 December 2010 01:20, wrote: The least would be some good docs about what's in CF and is not in Railo, and vice versa. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340157 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: how to mail merge in coldfusion
clfock can be used for any shared resource where access needs to be synchronised (e.g. files, search collections etc). -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 10 December 2010 06:36, Michael Grant mgr...@modus.bz wrote: It looks to me like you keep overwriting the last doc with the next one. Also, what's with the cflock? I don't see session, application or server variables anywhere. Unless you can use cflock in a way I've not seen before, which with CF is completely possible. On Thu, Dec 9, 2010 at 4:47 PM, sarah mfr sohairz...@yahoo.com wrote: I have a list of students (firstname, lastname, sectionname). I want to create a document of excellence certificates. I tried the following but I am getting only one page of the first student information. Appreciate your help cfinvoke component=cfc.data.excelling method=cfn_Excelling_UptoNowScore sectionid=1 scorepercent=70 returnvariable=Students cfinvoke component=cfc.data.section method=cfn_Section_InfobySectionID sectionid=1 returnvariable=sectioninfo cfoutput query=sectioninfo cfset SectionDetail=#sectionname# (#semestername#)/ /cfoutput h1Excellence Appreciation/h1 cfset error = / cfif NOT Len(error) cfset pathToRTF = GetDirectoryFromPath(GetCurrentTemplatePath()) Newcert.rtf / cflock name=NewCert type=exclusive timeout=30 cfset rtf = FileRead(pathToRTF) / cfloop query=students cfset rtf = Replace(rtf,%firstname%,#firstname#) / cfset rtf = Replace(rtf,%lastname%,#lastname#) / cfset rtf = Replace(rtf,%SectionDetail%,#SectionDetail#) / cfheader name=content-disposition value=inline; filename=cert#Studentid#.doc / cfcontent type=application/msword cfoutput#rtf#/cfoutput /cfloop /cflock /cfif ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339966 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: how to mail merge in coldfusion
*cflock (my typing sucks). -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 10 December 2010 18:32, James Holmes james.hol...@gmail.com wrote: clfock can be used for any shared resource where access needs to be synchronised (e.g. files, search collections etc). -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 10 December 2010 06:36, Michael Grant mgr...@modus.bz wrote: It looks to me like you keep overwriting the last doc with the next one. Also, what's with the cflock? I don't see session, application or server variables anywhere. Unless you can use cflock in a way I've not seen before, which with CF is completely possible. On Thu, Dec 9, 2010 at 4:47 PM, sarah mfr sohairz...@yahoo.com wrote: I have a list of students (firstname, lastname, sectionname). I want to create a document of excellence certificates. I tried the following but I am getting only one page of the first student information. Appreciate your help cfinvoke component=cfc.data.excelling method=cfn_Excelling_UptoNowScore sectionid=1 scorepercent=70 returnvariable=Students cfinvoke component=cfc.data.section method=cfn_Section_InfobySectionID sectionid=1 returnvariable=sectioninfo cfoutput query=sectioninfo cfset SectionDetail=#sectionname# (#semestername#)/ /cfoutput h1Excellence Appreciation/h1 cfset error = / cfif NOT Len(error) cfset pathToRTF = GetDirectoryFromPath(GetCurrentTemplatePath()) Newcert.rtf / cflock name=NewCert type=exclusive timeout=30 cfset rtf = FileRead(pathToRTF) / cfloop query=students cfset rtf = Replace(rtf,%firstname%,#firstname#) / cfset rtf = Replace(rtf,%lastname%,#lastname#) / cfset rtf = Replace(rtf,%SectionDetail%,#SectionDetail#) / cfheader name=content-disposition value=inline; filename=cert#Studentid#.doc / cfcontent type=application/msword cfoutput#rtf#/cfoutput /cfloop /cflock /cfif ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339967 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: lost cf server mx disc
People can also use Railo for free and get more functionality than a CF 6.x release. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 30 November 2010 22:23, Dave Watts dwa...@figleaf.com wrote: That said, why did you purchase such an old version? The latest version is CF 9, and I'd strongly recommend you use that instead. You should be able to use your existing license number to upgrade to CF 9, I think, since you do have that. CF 9 is so much better than CFMX 6.1 in every respect. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339625 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: function parameters problem
In other words, call your own function something other than insert because that's already the name of a CF function. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 23 November 2010 16:49, Maureen mamamaur...@gmail.com wrote: The error not with your arguments. It is on this line: cfdump var=#insert(gk,ad,fo,ew,32444,43,male)#/ The insert function takes only three parameters. insert(substring,string,positio ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339449 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFCs for AJAX
Create a proxy (or facade) object that you can call via AJAX. In this object you can access the instantiated objects that are in the session or application scope. As long as you know that only this one proxy object accesses those scopes directly (and in fact that's its purpose) then you won't run into the issues that your coding standards are set up to avoid. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 17 November 2010 04:17, Donnie Carvajal donnie.carva...@transformyx.com wrote: I figured it was a typo. I get the credential check in the onRequestStart(), makes sense. The other issue I'm having is that I need to access the user object that would be created in onRequestStart(). Basically, CF based objects can't be passed to remote methods, correct? So either way, I will have to access some variable (singular or object) that was created outside the component. Not a big deal, just go against some standards we are trying to foll ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339299 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF Blog software
http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WS61C07B60-3D65-4d71-8F2A-8411D8010E60.html -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 13 November 2010 20:19, Russ Michaels r...@michaels.me.uk wrote: This new function -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: 13 November 2010 07:44 To: cf-talk Subject: Re: CF Blog software On Thu, Nov 11, 2010 at 1:40 AM, Russ Michaels r...@michaels.me.uk wrote: could we have an example ? An example of what? -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339183 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Where to put your code
When was the last time you wrote a web app with a flint axe? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 November 2010 12:01, Gerald Guido gerald.gu...@gmail.com wrote: I'd argue that CF didn't allow for well written applications before CFCs came along. Swapping out well written applications for well made tools, I would argue that there were no well made tools before the advent of fire, flint, copper, bronze, iron, steel, interchangeable parts, computers etc. etc extrapolate, rearrange and fill in the blanks as needed. Humans are just as smart/ingenious/resourceful/creative (and of course, the flip side dumb, foolish, flawed etc) as they were since the beginning of recorded history. We just stand on the shoulders of those who came before us. G! On Fri, Nov 12, 2010 at 8:05 PM, James Holmes james.hol...@gmail.comwrote: I'd argue that CF didn't allow for well written applications before CFCs came along. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 13 November 2010 02:16, Dave Watts dwa...@figleaf.com wrote: Functions existed well before CFCs - does that mean that well-written applications predating the use of CFCs are now poorly-written? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339187 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Where to put your code
Or any version of Perl... -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 November 2010 13:40, Gerald Guido gerald.gu...@gmail.com wrote: When was the last time you wrote a web app with a flint axe? Right around PHP 3 or CF 2 :-) G! On Sun, Nov 14, 2010 at 12:02 AM, James Holmes james.hol...@gmail.comwrote: When was the last time you wrote a web app with a flint ax ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339189 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Coldfusion and Jquery UI Dialog
Have you tried putting method=post on the form (and an action of it's supposed to go somewhere else)? form id=dialog-form title=Login method=post action=login_page_here.cfm -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 November 2010 10:58, fun and learning funandlrnn...@gmail.com wrote: HI All - I am trying to create a login popup form using Jquery UI Dialog plugin and coldfusion. I am not able to understand how to authenticate the user on the popup. Whenever I say login, the form is submitted with form variables appended to the url. Can anyone let me know the flow that has to be followed? Below is the code form id=dialog-form title=Login h3Login/h3 !--- form --- fieldset input type=text name=username id=username value=username/ input type=password name=password id=password value=Password / input type=submit name=btn_login id=btn_login value=Login ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339190 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Where to put your code
Why not create the CFC in the application scope to cache it in RAM? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 13 November 2010 06:22, Mike Chabot mcha...@gmail.com wrote: I prefer using include files and caching common functions in RAM when the application loads. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339172 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Where to put your code
I'd argue that CF didn't allow for well written applications before CFCs came along. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 13 November 2010 02:16, Dave Watts dwa...@figleaf.com wrote: Functions existed well before CFCs - does that mean that well-written applications predating the use of CFCs are now poorly-written? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339173 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Working with cfqueryparam
In this; cfqueryparam cfsqltype=cf_sql_date value=#CreateODBCDateTime(Now())#/ CreateODBCDateTime() is unnecessary. Also; cfqueryparam cfsqltype=cf_sql_integer value=#Trim(FORM.Contributed)# null=#IIF(Trim(FORM.Contributed) EQ '', true, false)# can be reduced to this cfqueryparam cfsqltype=cf_sql_integer value=#Trim(FORM.Contributed)# null=#Trim(FORM.Contributed) EQ ''# -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 13 November 2010 03:30, David Moore dgmoor...@hotmail.com wrote: Seems to me that there is a lot more to cfqueryparam than I have been utilizing. I built the following query using as many elements of cfqueryparam as I could find based on examples from CF-Talk and other resources. I would love to get expert opinion from those on this forum in an effort to expand my knowledge and provide documentation for others. Code is for MS Access: cfquery name=insNewRecord datasource=#DSN# INSERT INTO Database (Active, Contributed, DateAdded, AddedBy, UUID , ParentRecord, PageReference, RecordName, RecordText, ImageFile , DateTaken, TakenBy, PlaceTaken, ProjectReference) VALUES (cfqueryparam cfsqltype=cf_sql_integer value=#FORM.Active#/ , cfqueryparam cfsqltype=cf_sql_integer value=#Trim(FORM.Contributed)# null=#IIF(Trim(FORM.Contributed) EQ '', true, false)# , cfqueryparam cfsqltype=cf_sql_date value=#CreateODBCDateTime(Now())#/ , cfqueryparam cfsqltype=cf_sql_varchar value=#getUser.EmailAddress#/ , cfqueryparam cfsqltype=cf_sql_varchar value=#Trim(FORM.UUID)# maxlength=255/ , cfqueryparam cfsqltype=cf_sql_integer value=#Trim(FORM.ParentRecord)# , cfqueryparam cfsqltype=cf_sql_integer value=#Trim(FORM.PageReference)# , cfqueryparam cfsqltype=cf_sql_varchar value=#Trim(FORM.RecordName)# maxlength=255/ , cfqueryparam cfsqltype=cf_sql_clob value=#Trim(FORM.RecordText)#/ , cfqueryparam cfsqltype=cf_sql_varchar value=#Trim(FORM.ImageFile)# maxlength=255/ , cfqueryparam cfsqltype=cf_sql_date value=#Trim(FORM.DateTaken)# null=#IIF(Trim(FORM.DateTaken) EQ '', true, false)# , cfqueryparam cfsqltype=cf_sql_varchar value=#Trim(FORM.TakenBy)# null=#IIF(Trim(FORM.TakenBy) EQ '', true, false)# maxlength=255 , cfqueryparam cfsqltype=cf_sql_varchar value=#Trim(FORM.PlaceTaken)# null=#IIF(Trim(FORM.PlaceTaken) EQ '', true,false)# maxlength=255 , cfqueryparam cfsqltype=cf_sql_integer value=#Trim(URL.ProjectID)#) /cfquery ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339174 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best Way to Trap SQL Error
Have you tried cftry/cfcatch? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 8 November 2010 23:07, Rick Colman rcol...@cox.net wrote: What is the best way to gracefully trap this sort of error ... Error Executing Database Query. [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1. The error occurred on line 3. TNX for any suggestions. Rick. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338943 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Oracle 11g Upgrade Unable to select from CLOB datatype
Which version of CF are you using? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 5 November 2010 15:50, Noveta Wimbley noveta.wimb...@sjcd.edu wrote: We have just upgraded from Oracle 10g to 11g. Now we have an application that will not select from clob datatype column. We are getting the following error: Error Executing Database Query. [Macromedia][Oracle JDBC Driver]No more data available to read. The error occurred in E:\Collab\iweb\webapps\admin\Test\drivertest.cfm: line 1 1 : cfquery name=getTXT datasource=prod 2 : select 3 : ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338839 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Oracle 11g Upgrade Unable to select from CLOB datatype
CF8 doesn't support Oracle 11G, so you may be out of luck getting any official resolution. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 5 November 2010 21:24, Wimbley, Noveta noveta.wimb...@sjcd.edu wrote: CF8 -Original Message- From: James Holmes [mailto:james.hol...@gmail.com] Sent: Friday, November 05, 2010 7:31 AM To: cf-talk Subject: Re: Oracle 11g Upgrade Unable to select from CLOB datatype Which version of CF are you using? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 5 November 2010 15:50, Noveta Wimbley noveta.wimb...@sjcd.edu wrote: We have just upgraded from Oracle 10g to 11g. Now we have an application that will not select from clob datatype column. We are getting the following error: Error Executing Database Query. [Macromedia][Oracle JDBC Driver]No more data available to read. The error occurred in E:\Collab\iweb\webapps\admin\Test\drivertest.cfm: line 1 1 : cfquery name=getTXT datasource=prod 2 : select 3 : ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338853 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Installation Instructions Coldfusion Enterprise 9
Well, that's just wonderful help from Adobe. It's like they've just given up on person-to-person support. The install guide is here: http://help.adobe.com/en_US/ColdFusion/9.0/Installing/index.html. Your install method is about right too - download it and then put in your Serial Number. You'll need the license number for the version from which you are upgrading too. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 25 October 2010 22:10, Dawn Sekel dawnt...@yahoo.com wrote: Does anyone have installation instructions for Coldfusion Enterprise 9? Do I just try downloading the Developer edition and then upgrade with our upgrade license number? I tried calling Adobe Technical support and got someone in India who directed me to download the Enterprise Installation manager for CS5 -- which made no sense to me. Thanks in advanc ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338522 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF (8.0.0) performance vs PHP (5)
If you're appending text line by line to a memory variable, you're probably having issues relating to java strings being immutable. If you're appending to a file each time, that's probably slowing you down. Try the loop without writing any strings out and see what the difference is. If that's fast, try a Java class that buffers string or file output depending on how you want it to work. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 18 October 2010 11:14, Bryn Parrott bryn_parr...@internode.on.net wrote: Dear All, I have this algorithm that runs a query or two against a mySQL (5) database on a Win 2003 (64Bit) server. The code loops over the query; assembles some text and writes it out to a text file line by line. Fairly simple really. There are lots of records. When I code this algorithm and execute in PHP 5 it runs in 7 seconds (give or take); When I code and excecute it in CF 8.0.0, it runs in around 74 seconds. The PHP code is being executed using cfexecute... Now to me this kind of performance degradation/difference between PHP and CF is unintuive, given that PHP is interpreted; whilst CF is 'compiled'; I expected CF to run faster. This was not my code to begin with however I have gone over it and checked for all the usual suspects; memory leaks; var variables and the like. The CF code is in the form of a cfcomponent, and my execution time observations were taken on the second run to take the compilation phase into account. Now I'm aware that CF 8.0.1 fixed some performance issues relating to CFC methods (I think...); but were the issues as severe as I am seeing ? Anyway, have others any views to offer on why I am seeing such a severe performance degradation for CF over PHP and suggest any way in which I might tune the CF code/server so that it is more nearly the same or better than the PHP. Sonme might suggest this is difficult since I have deliberately not posted the code; however I'm thinking that perhaps you might suggest general things I may not have thought of. Thanks, Bryn ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338269 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfdocument text cuts off at page break
I'll +1 flying saucer. I've just implemented it using JavaLoader (the iText version required clashes with that on CF8) and it works well (better than cfdocument). -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 15 October 2010 09:37, denstar valliants...@gmail.com wrote: But if you really must have a decent cfdocument replacement, there's always flying saucer (https://xhtmlrenderer.dev.java.net/). I've got a custom tag for that, which probably works for ACF too (I've only used it in Railo) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338229 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Detecting Mobile Devices
Try WURFL: http://wurfl.sourceforge.net/ -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 13 October 2010 21:16, Steve LaBadie slaba...@po-box.esu.edu wrote: I have just finished the development of a mobile site for our university. I have placed a redirect script on the home page and everything seems to be working. I was wondering if there is a more streamlined approach to detecting the different devices. Right now I am checking for specific brands. I can see this list expanding as more devices come on the market. Any thoughts. ~| 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:338114 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Uploading photos to Facebook - ColdFusion REST API
Perhaps Facebook is looking for the params in form variables rather than the URL since it's a post? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 10 October 2010 18:59, David Six david.six...@gmail.com wrote: cfhttp url=https://api.facebook.com/method/events.create?#params#; method=post multipart=yes cfhttpparam file=E:\test\sampleimage.jpg type=file name=image.jpg mimetype=image/jpeg /cfhttp ~| 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:338038 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: report builder similar to ms access
Is the cf reporting feature not suitable? -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 7 October 2010 20:25, Richard White rich...@j7is.co.uk wrote: Hi, we would like to include a feature into our software that allows users to create any report they like to display their data - similar to the reports feature in ms access does anyone have any suggestions on the best way to approach 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:337932 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework
Ah, free as in beer but not free as in speech. Yeah, I'll stick to FOSS or pay for a commercial license, thanks. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 5 October 2010 18:04, Peter Boughton bought...@gmail.com wrote: I went to go take a look at it, and got to the download page... Apparently I have to sign an SLA and NDA to download it? Screw that. ~| 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:337857 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Can't figure out a query to accomplish this...
Are you using select * to get the records? If so, get rid of that and name the select columns from p. select p.area, p.bedrooms, p.bathrooms from ... etc -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 4 October 2010 11:28, Rick Faircloth ric...@whitestonemedia.com wrote: Spoke (wrote) too soon... I'm getting the correct records, but I just realized I'm getting two of every field returned. I tried other joins, but can't affect the fields so that I get just one field. How do I modify the query to return just one field ~| 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:337822 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm