ColdFusion News :.
To bring a little life to my site, I've pulled a couple - Developer Circuit (ColdFusion Jobs)
- coldfusionbloggers.org
- Fusion Authority
- EasyCFM News
- EasyCFM Tutorials
You are currently viewing and RSS Feed from coldfusionbloggers.org.
CFUnited 2010 - Full Topic List!
Today the CFUnited team published the full list of topics for CFUnited 2010 and I'm pretty impressed! In past year's I've grumbled that I've found it a bit hard to fill my schedule but there's a lot of va...
(Fri, 12 Mar 2010 22:30:38 GMT)
[view article in new window]
Coloring CFCHART Dynamically
Here is a question that came up earlier this morning on a mailing list. How can we specify colors for CFCHART based on some particular business rule? So for example, imagine we have a set of average temperatures. You want to chart them and specifical... [More]
(Fri, 12 Mar 2010 19:30:36 GMT)
[view article in new window]
ColdFusion 9 bug: Change in behavior with CGI variables
Our company has an application that leverages SiteMinder for authentication. One of our developers, Andrew Leaf, noticed that when he installed ColdFusion 9 that he could no longer authenticate to the application. I was using an early beta version of CF9 and had no problems, so I initially dismissed the notion that this could be a ColdFusion 9 issue. After spending some time with Andrew as he walked through the ColdFusion Builder step debugger, we found the suspect block of code. The application code checked to see if a CGI variable has been set using StructKeyExists() and if it does, it sets session information based on that value. Today I set ColdFusion 9 up on new machine and am seeing the exact same behavior. What we are seeing is that with ColdFusion 9, when you test for existence of *any* variables in the CGI scope, it always returns true.
It essentially behaves in such a way that any variable name appears to be defined and paramed with a blank value in the CGI scope. For instance:
StructKeyExists(cgi,"someRandomString") == YES
Likewise:
<cfdump var="#cgi.someRandomString#" /> outputs [empty string]
I have filed this as a bug in the ColdFusion bug tracker here.
(Fri, 12 Mar 2010 18:45:15 GMT)
[view article in new window]
Last bit of topics!
Hello! I know everybody has been anxious to see the rest of the topics! Mate Flex Framework: What's in it for me? - Laura Arguello 20 Security Threats to Flex Apps and How to Avoid them - Elad Elrom Flex Data Binding Pitfalls - 10 common misuse mistakes - Elad Elrom Object Relational Mapping in CF on Wheels - Chris Peters ColdBox Platform 3.0.0: Sustainable ColdFusion Applications - Luis Majano ColdFusion Powered iPhone Applications - Luis Majano and Joshua Geise Flash Catalyst: Design to Flex - Dee Sadler CSS and the CMS - Dee Sadler Beginning Flex for ColdFusion Developers - Brian Rinaldi These will most likely be the last of the topics released, not including sponsor-speaker slots. Those will be released as they come in. Thanks to everyone who submitted topics!!
(Fri, 12 Mar 2010 18:45:08 GMT)
[view article in new window]
ColdFusion MeetUp: Making Bad Code Good, with Dan Wilson
Announcing a new Meetup for The Online ColdFusion Meetup! What: “Making Bad Code Good – 2010 edition”, with Dan Wilson WHEN: Thurs. Mar 18, 12:00pm US ET (UTC/GMT-5) What time is the meeting in your timezone? The following link shows a page with the time as US ET, and you can choose your city from the list offered [...]
(Fri, 12 Mar 2010 18:00:46 GMT)
[view article in new window]
CFUnited hotel and travel tips
If you are staying at the Lansdowne Hotel for CFUnited this year here are some hotel and travel tips:
- Staying a day early or late? Ask the hotel for the same rate as the conference special rate to be extended.
- Got kids? Free child day care is available 9am - 9pm.
- Like golf? There are three courses plus a putting area to play on.
- Want to relax? Visit the onsite spa for you or your spouse.
- Free shuttle to Dulles airport if you call hotel to reserve your time and give the code word "CFUnited".
- The $15 resort fee includes internet access and fitness club/pool use.
- There are 3 swimming pools, tennis courts, racket ball in addition to golf
- There are 3 restaurants and bars and the club house.
- $179 room rate special ends Monday 3/15/10 - tell your ColdFusion and Flex friends so they don't miss out! Last year the hotel sold out of rooms...
More hotel info, travel tips for plane, train and automobile and what to do in Washington DC at the CFUnited travel page.
(Fri, 12 Mar 2010 18:00:17 GMT)
[view article in new window]
When ColdFusion Report Builder seems to mangle reports
We were working on an existing ColdFusion Report Builder (CFRB) report, and it ran fine and all that. But the mere act of just saving it seemed to corrupt the reports display.
What we found was that some of the item/fields don't retain all the metadata that they're supposed to. Turned out they were set to not visible or they were set too small.
Additionally another issue is that your desktop needs to have all the fonts utilized by the report.
Thanks to Jon Hirschi for figuring this out!
(Fri, 12 Mar 2010 16:12:10 GMT)
[view article in new window]
Add a value to a stored list in mySQL using FIND_IN_SET() and CONCAT()
For example, a column in a candy store database contains a list of flavors that the different shapes of candy come in. We have another table of flavors, but rather than a third relative table of flavors and product relationships, the IDs of the flavors are simply stored in a column in the products table.
So, you might have a value like
12,14,35,36,78,105
where each number represents the value of a form checkbox in the product admin for this site, and and ID for a flavor in the flavors table. The store admin checks the boxes for the flavors that product comes in, and those IDs get stored as a list in a specific column.
For the purpose of example, suppose the column is simply called 'flavors', and you need to add the flavor 'wowzaberry' (id 199) to all of the products that currently have the flavor 'razzoberry' (id 105) - with the added logic so that if a candy product already has the new flavor, we don't add it twice.
UPDATE tbl_products
SET flavors = CONCAT(flavors,',199')
WHERE FIND_IN_SET('105',flavors)
AND NOT FIND_IN_SET('199',flavors)
This says
Add (concat) a comma (,) and 199 (the new ID number)
To any record that already has ID 105 in the flavors column
And that does not already have ID 199 in that same column
(Fri, 12 Mar 2010 15:45:27 GMT)
[view article in new window]
Spreadsheet to XML Transformation Utility Overview
I am currently working on a project that has proven to be very challenging, architecturally speaking. I've been learning a lot along the way, and I have come up with some approaches to addressing the challenge that I feel are pretty doggone sweet, so I thought I'd share some of the details in case it helps spark ideas for other people.
Let me describe how this challenge came about, and the challenge
(Fri, 12 Mar 2010 15:45:17 GMT)
[view article in new window]
Ultimate list of CF debugging output template alternatives
Following on the heels of my "Ultimate Var Scope Resource list" last week, here now I present what I think is the ultimate list of CF debugging output template alternatives.
Yes, you CAN modify the debugging output. Some have even done it for you
Many may not realize that the CF debugging output (optionally displayed at the bottom of the page, as enabled in the CF Admin) is actually created by a CFML template that can be modified ([cf]\wwwroot\WEB-INF\debug\classic.cfm).
Fortunately, several people have offered various resources that explain how to work with this file and offer packaged alternatives with specific features to resolve particular problems (where people wish the debugging output did more, or could be seen differently than at the bottom of the page).
Just drop and reload
You can just drop any of these files into the debug file directory to add to or replace the default file. If it's a new file you then need to select it as an alternative in the CF Admin Debugging Output page which offers a choice for "Select Debugging Output Format", which points to the classic.cfm by default.
Of course, since it's CFML source code, all the options mentioned here are free and open source.
The alternatives, discussed and downloadable
The alternatives include:
Also listed on my CF411 site
Note as well that I have just created a section in my CF411 site, called "CFML Debugging Output Template Alternatives/Mods". If anyone offers me additions or corrections as a comment below, I'll be sure to update the list in the CF411 page as well.
Finally, as I mention at the bottom of the list on that page, note that I have yet another section (following that one) on the site, called CFML Debugging Tools, which lists still other kinds of CFML debugging tools.
(Fri, 12 Mar 2010 15:00:22 GMT)
[view article in new window]
©
The connection to the CFBLOGGERS_FEED's RSS feed has timed out - please try again later. We are sorry for any inconvenience this may have caused.


