Entries for month: May 2010
Since couple of week I have notice retweet and facebook like button is getting more popular, in many blog I have seen it and really impressed. This make really easy to share on post on facebook and tweeter and I thought to implement it for my blog. I just modify on shareonweb plugin and release as version 2.1.
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} : {PRICE}"
minlength=2
/>
I am sorry this time really off topic and nothing related to technology (internet) but I can't stop myself to write about it.
Price Range Rs 4,34,000 to Rs 7,00,000. I just want to get it this car :).
Just few photos for you..


Rear view

Interior

Before a month I have posted about "Add header in cfgrid in coldfusion 9" where you can
add ExtJs component in header to filter CFGRID data. One of my blog read
"David" raise that how to bind ExtJs component with CFGRID to filter
result.
Here I will try to explain how to bind header element with CFGRID,
assuming that you have already read my previous post
regarding this topic.
This is little bit tricky to bind with CFC call. We need to create
seperate javascript function which will return value selected from extJS
element.
Recent Comments