Entries Tagged as 'ColdFusion'

Todays' Ad

mssql table field of type ntext coming as empty string coldfusion 7

ColdFusion No Comments »

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...

Read more...

ColdFusion wrapper for jQuery autocomplete.

ColdFusion , customtag 2 Comments »

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_autocomplete
textFieldName="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}&nbsp;: {PRICE}" 
minlength=2
 />

Read more...

addcfcode: Mango Plugin published

mango plugin , ColdFusion 10 Comments »

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 ].

Read more...

Showing record information in CFGRID footer in ColdFusion 9

ColdFusion , ColdFusion 9 7 Comments »

 

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.

 

Read more...

java.lang.Double cannot be cast to java.lang.String

ColdFusion , ColdFusion 9 6 Comments »

"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. 

Read more...

Powered by Mango Blog. Design and Icons by N.Design Studio | Menu Apycom
RSS Feeds