-
Mixing CFLAYOUT And PDF/Flash
Michael Brennan-White asks: I am attempting to create a new RIA app using the new Ajax tools in CF8. Is there a special trick needed to display a FlashPaper or PDF in a cflayoutarea? I am calling the report with this link: <a href=”javaScript:ColdFusion.navigate(‘DebtMFReport.pdf’,'center’)”> Agency Scheduled Payments Report</a> All that …
By Raymond CamdenRead More
December 17, 2009 -
Updating ColdFusionBloggers.org – Using CFDIV For Paging
So once again I’m messing with ColdFusionBloggers to show off some ColdFusion 8 AJAX goodness. This time the idea came from Todd Sharp. He suggested making the paging AJAX based. That way when you move from page to page, only the content is loaded. Turns out the change was rather …
By Raymond CamdenRead More
December 17, 2009 -
What You Shouldn’t Be Doing In ColdFusion
A few weeks ago I saw an interesting post on Dzone about what you shouldn’t do in Python. (See the article here.) This got me thinking about what features/types of code/practices should be avoided in ColdFusion. Some are obvious – for example, not using deprecated code. Did you know that …
By Raymond CamdenRead More
December 17, 2009 -
Randomizing the Display of a Query
Charles asks a pretty common question about randomizing the result of a query: I have a simple page that loops a couple queries and randomly issues the question and choices. I have the loop go from 1 to 10; however sense I do not want to have duplicate questions, I …
By Raymond CamdenRead More
December 17, 2009 -
Getting Space Available On A Hard Drive (partition)
I’m working on a tutorial for a client involving file uploads (which I’ll be sharing on the blog). In the tutorial I talk a bit about monitoring the number of uploads and how much space they are taking. I was curious what methods exist for finding out how much space …
By Raymond CamdenRead More
December 17, 2009 -
Adding Error Handling to Your Application
I’ve done more than a few posts recently about error handling and robust exception information, so I thought I’d write up one entry that can serve as a nice guide for folks to bookmark. By using “Complete” in the title, I’ve also virtually assured that I will forget something critical, …
By Raymond CamdenRead More
January 2, 2008 -
Slow Page Reports With ColdFusion 8
Many moons ago, I reported on how you could write a template to parse your server.log file for slow page reports. In case you didn’t know – the ColdFusion Administrator lets you log files that take too long to process. This setting is found in the Logging Settings page as …
By Raymond CamdenRead More
September 12, 2007 -
FeedBurner CFC
I’ve been using FeedBurner for quite sometime now to host my RSS feeds, and when they bought Blogbeat, I was even happier since Blogbeat was a great blog-stats tool. Now I get both feed and general item stats all from one source. FeedBurner has an API to retrieve information about …
By Raymond CamdenRead More
August 27, 2007 -
Preselecting A Tab Via The URL In ColdFusion 8
A quick and simple tip – ColdFusion 8 lets you set a default selected tab by using selected=”true” in the tab. Here is a simple example: <cflayout type="tab"> <cflayoutarea title="Tab 1"> <p> This is the first tab. </p> </cflayoutarea> <cflayoutarea title="Tab 2" selected="true"> …
By Raymond CamdenRead More
August 8, 2007 -
ColdFusion 8: Working With PDFs
Ok, time for a little revelation. This may prevent me from ever working for Adobe, but I have to be honest. PDFs are boring. Ok, ok, I get it. They look nice. They are powerful. But… outside of that, when I hear folks talk about PDF as a technology, I …
By Raymond CamdenRead More
July 11, 2007