There are 24 item(s) tagged with the keyword "ColdFusion".
I am sorry for posting issue of coldfusion 7 in era of ColdFusion 9 :). Today I face really strange issue about value of ntext field not populating in cfquery. Application was running on ColdFusion 7 (eventhough I didn't face same issue on local server running with ColdFusion 7).Tried same query in Sql Server Management and seems data was coming correctly mean query was OK but when I dump CFQUERY it showing empty string for ntext fields. Now this is really hair pulling situation and after 2 hours of try and error method I found simple solution, that is...
I was working on migration from ColdFusion 8 to ColdFusion 9 for one my client. As I have raised in my other post that Coldfusion 9 is using Ext 3.0 which required some javascript changes if you have used ExtJs function to extend your functionality.
I need to show record information (ex. Showing 1 to 10 out of 15) in CFGRID footer but as usual I require to make changes as per ExtJs version 3.0.
For one of my project I required autocomplete box. I know coldfusion has its own autocomplete but has lots of limitation. I wanted autocomplete to work like select box of html, display lable of product in list but in backend it will return ID for that product and as usual I just stop at jQuery-ui Autocomplete (I just love jquery) which allow good customization.
This coldfusion wrapper allow you to use jqury autocomplete with coldfusion query variables or loading data remotely.
Example:
<cf_autocompletetextFieldName="productName" textFieldValue="" textFieldBind="PRODUCTNAME"idFieldName="productId" idFieldBind = "PRODUCTID"datasource="/cfc/products.cfc?method=getActiveProduct&returnFormat=JSON"fieldList="PRODUCTID,PRODUCTNAME,PRICE"queryParam="product" displayTemplate="<div><img src=""/images/{PRODUCTID}.gif"">{PRODUCTNAME} : {PRICE}" minlength=2 />
Just before some days when I was writing my post regaring cfgrid with header and footer where I want to show output on my post. For this I need to create new demo page and give link to that or I can add iframe which load my demo page and just got idea why not add coldfusion tag on post and post display output that code :).
And this is what addcfcode plugin will do. You can add your own coldfusion code in post wrap with [addcfcode ][/addcfcode ].
I really impressed with CFMAP tag in ColdFusion 9. It eliminatesjavascript code for google map api. Now google map integration is soeasy that will finish in just two steps 1. Get google map API key foryour domain. 2. Use CFMAP tag and render map in HTML page.
After getting API key we need to tell coldfusion about our MAP APIkey either by giving in cfajaximport tag or application.cfc file. Youcan specify api key in cfajaximport tag if you are want to use this insingle page only but if planning to use google map in site wide thenbetter idea to specify in Application.cfc. Below are both way tospecify key.
<cfajaximport params="#{googlemapkey='ABQIAAAABvdd0PabCkL4zGc4TF1t6hT2yXp_ZAY8_uf....'}#" />
OR
<cfset this.googlemapkey="ABQIAAAABvdd0PabCkL4zGc4TF1t6hT2yXp_ZAY8_uf.....">
Today I came across problem with CFLAYOUT tag and ColdFusion.navigateproblem. It was working in ColdFusion 8 but same code doesn't work withColdFusion 9. Actually when I use simpler version it work fine in both8 and 9 but when I use little complex CFLAYOUT then it doesn't workwith CF9. Let me show you both example which work/not work with CF9respectively.
"java.lang.Double cannot be cast to java.lang.String" error you must face if you are previously using ColdFusion 8 and migrating to ColdFusion 9. For one of my client we were migrating from CF8 to CF9, mainly we faces issue related to ExtJs as CF 9 using 3.0 version which I can understand but above error really surprised me as this one is coldfusion error and I found nothing wrong in my code as that was working fine in ColdFusion 8. After googling on I found it was bug and Adobe has consider as hot fixes.
Coldfusion custom tag using CFPOP tag which allow to access pop3 account with and without SSL support.