Jul
29
Entries Tagged as 'customtag'
May 8
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
/>
Sep 10
Coldfusion custom tag using CFPOP tag which allow to access pop3 account with and without SSL support.
Recent Comments