In coldfusion i’ve ran across the problem of trying to parse a comma seperated list, and inputing it into a database… there lies a work around for empty values in the list, for example. test.csv ============== value1, value2, value3,,value5,,value7
In coldfusion i’ve ran across the problem of trying to parse a comma seperated list, and inputing it into a database… there lies a work around for empty values in the list, for example. test.csv ============== value1, value2, value3,,value5,,value7
I have a page that grabs a list of numbers, either from a series of checkboxes, or a multiple select box, and it passes the Value of the item… <select name=“Seminars” multiple=“multiple” size=“10″> <cfloop query=“somequery”> <option value=“#seminarid#”>#title#</option> </cfloop> </select>
I wrote this query for use on my site beta.killtheheart.com When you click on the hotlist tab you will see the query version 1: Problems… i was including the date in my query using a group by <cfquery datasource=“#variables.dsn#” name=“qHotList”> SELECT l.artistID, l.AlbumID, l.Date, count(l.ArtistID) as recordCount, art.Artist, alb.Title FROM tblLogger l, tblArtists art, tblAlbums alb [...]
Here is a simple way to do a dynamic menu, there are some limits to this, but it seems to do ok… style.css /*=========================*/ /* Menu */ #navlist { border-bottom: 1px solid #ccc; margin: 0; padding-bottom: 19px; padding-left: 10px; }
This function does an alert on what you request… it’s a great little function picked it up from activsoftware.com function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split(“&”); for (var i=0;i<vars.length;i++) { var pair = vars[i].split(“=”); if (pair[0] == variable) { return pair[1]; } } alert(‘Query Variable ‘ + variable + ‘ not [...]
Use this to filter data in a datagrid I always get scared that asfusions blog isn’t going to be available, one day i went there, and the blog and examples part was totally gone, i was freaking out, i go there as a reference all the time… Here is a function i use alot, and [...]
This is a great example, and it’s great for learning what actionscript can do… It uses an import of an actionscript file to put a combo box in a cell in a cfgrid… it’s awesome.View the example Here is the original Post I want to be able to remember this stuff so i blog it. [...]
I recently installed Flex Builder 2, and wanted to install the coldfusion extensions, but ran into some issues… when i installed, the installer asked me if i would like to view the instructions on how to install the coldfusion extensions, but when i clicked yes, nothing happened….
The service that you have to stop and start is a little wierd at a first glance… When you look in your windows services you see a few different services that have coldfusion in the name,
Tonight I grabbed the free version of Smarterstats from Smarter Tools I tried installing it, and when i installed (IT WENT SUPER SMOOTH) one minor bump in the road though… I tried to import my IIS settings for log files… and it told me that My import didnt have any dad for the last 7 [...]
I had heard from a blog mkruger.cfwebtools.com http://www.farcrycms.org that farcry was one of the coolest things ever… so i had to try it… while installing… i read documentation and watched some of the videos… and from what i see, i believe it is super easy to create a menu structure with farcry, i’m sure thats [...]
This code prevents a page from being cached <CFHEADER NAME=“Pragma” VALUE=“no-cache”> <CFHEADER NAME=“Expires” VALUE=“Now()”> <CFHEADER NAME=“cache-control” VALUE=“no-cache, no-store, must-revalidate”>
I read from ray camden’s blog on how to use a java utility to get the id3 tags from mp3 files… Ray Camdens Blog This works fantastic, but i’m working on a amd 1800XP and windows 2k3… it’s a home server… cf 7 developers edition… I host a music site, and used it to learn [...]
Here is a way that you can use javascript with flash forms, we ran into a situation where the flash form got so big on the page, that we had to use javascript to scroll to the top of the page… View The example Download the files <cfsavecontent variable=“doThis”> getURL(“javascript:showMessage(“ + “‘test’” + “)”); </cfsavecontent> [...]
The challenge with using cfgrid, is that it doesnt exist in the form in nothing was changed…. here is a script that runs through the grid, and gets the values and puts them in the form scope… You can use this to submit to the session, or another scope of some sort. The code is [...]
Popularity: 2% [?]
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Apr | ||||||
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 | |||