coldfusion

Help getting, or displaying, random records in ColdFusion from a MySQL query?

I've got a jquery roller/scroller that displays snippets of records returned from my 'Helpful Hints' database table query. I want to keep the scroller to about 15 records but not always the first 15 records. Is it more efficient to write a query like: SELECT * FROM table ORDER BY RAND() LIMIT n Which returns a random result or do I ...

How do you Set cookie to remember open tab? Tabs are created with Coldfusion & Javascript

This is probably more simple than I'm making it but I just can't figure out how to do it. What I've got are tabbed sections created in Coldfusion. The output is that the selected section has a class name that contains the string "tab_selected (+ the UUID created in coldfusion)" versus the unselected tab sections whose class names contain...

Coldfusion / Railo paths question for live server

Hi My website files are located with the folder structure as such: * Webroot ** mydomain ** sharedimages In IIS, my website is setup with www.mydomain.com pointing to Webroot->mydomain as it's home directory. In my site, I need to somehow display images located in the 'sharedimages' folder. Obviously though, I can't go ww...

PDF to HTML via API or through ColdFusion?

This has been asked many times, i'm sure, but i was curious if it's possible to upload a PDF to some site, keep it private, and get back HTML/CSS? Or, is there a way with ColdFusion to do this? It needs to be damn near the same as the PDF. I heard through a developer at a hackathon there was a PDF converter that uses the Webkit engine, b...

CFWheels Unit Testing?

Hello everyone, I have searched Google and abroad and I cannot find anything about CFWheels Unit Testing. Does anyone know if it exists and if so can you point me in the right direction? Thanks, Darren ...

After jquery post I can't read form values with coldfusion

I have a jquery post: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <script type="text/javascript" src="./js/jquery-1.4.3.min.js"></script> <script type="text/javascript"> $(document).ready(function() ...

AnythingSlider: Make Nav Tabs Inactive?

I'm using the AnythingSlider tool and am having some trouble with the css and js on this. Basically, the slider has a number of navigation tabs that help jump from slide to slide. I want to change this so that when a coldfusion conditional runs, certain tabs will either remain in a default state or become inactive (change color of tab ...

Insert auto-number from newly inserted row in Access with Coldfusion

I have a few tables: a medError table, an option table, and a selected_options table. When somebody submits the relevant form, I have an insert which inserts all the info from the form to the medError table. However, on this form, there is a section of dynamic checkboxes based on the items in the option table. The selected_options table...

webinar recordings aggregator site / feeds?

Conferences are expensive, but thanks to the kind community, many of the videos are recorded and made available online afterwards. They are amazing way to learn the latest and the greatest but they are sometimes hard to find. Where do you find the latest recorded online seminars? Are there any webinar aggregator site / feeds? ...

Can't read or write to directory CFFILE despite 777 permissions coldfusion

This is installed on a Unix system I don't have direct access to, but can get insight on by sitting with a network team. The problem is this, I have 3 folders I need access to, read and write. The problem is, I only have access to 1 of them, and only read. This is via ColdFusion, I can get into them fine with the user they are assigne...

Which Coldfusion development setup for learning?

I'm about to move from a PHP job to a Coldfusion job. I've never used it before and I'd like to get up to speed quickly. I use a Mac at home (10.5) so what would be the best free development platform to learn on and what are the latest and best tutorials? Currently I use Netbeans as an IDE but I could be persuaded to use Eclipse if th...

Moving a ColdFusion site without DB details

I recently have been nominated to transfer a CF site from one host to another. While I have completed getting the site up on the new server I now need to set up the DB backup on to the new server. I am looking to find a config file or something similar but no one who had control of the site is being very helpful. If someone can lead m...

ColdFusion error after hosting transfer

I recently moved a ColdFusion site from one domain to the other with no issue (practically) besides one which I am having some trouble figuring out. I am a LAMP developer / designer and CF is a bit foreign to me so pardon my ignorance. The site is working properly except for the store component, I am getting the following error "The ...

read file from url path and display in chart format

i working on one project. i want to read file which path from url,this file containing xml data i have to show this data in chart format. ...

store data in array

I have used cfhttp to read a .cfm file, but I want to store the data in one variable or array and pass this variable to a cfchart to display it in chart format. How can I do this? ...

Any way to change rounding method for LSCurrencyFormat in ColdFusion?

ColdFusion's LSCurrencyFormat function appears to be using round-to-half-even (banker's rounding). Is there anyway to change this? I'd like to change it to standard round-half-up rounding that most people are taught in grade school. An example: LSCurrencyFormat(39.7340): $39.73 LSCurrencyFormat(39.7350): $39.74 LSCurrencyFormat(39.7360...

cfsavecontent + cfinclude with utf-8 charset?

I have a line of coldfusion code that includes an cfm file encoded with the utf-8 charset and saves it to a variable. The problem I am having is that there is no way to specify a charset in cfinclude and the resulting variable does not seem to be reading utf-8 correctly so any non ascii characters are rendered incorrectly. <cfsaveconte...

Converting a Swf to png

Is there a application (Or way in coldfusion/VB.net) to be able to convert a swf to png? It needs to be good quality and needs not to be too slow. ...

Coldfusion - XML Pretty Print

There are a lot of ways to pretty print XML, but I have yet to find one using a ColdFusion function. This is a common question, but again I want to do this within ColdFusion. ...

Problem Sending Server Side Messages from BlazeDS to All Browsers

Hi, I've run into a bit of a wall with sending messages from BlazeDS on the server to Flex clients. I have my adapters and destinations set properly (I think) messaging-config.xml and my streaming channel setup in my services-config.xml files. The messages work beautifully in Safari (Mac and PC) but no other browsers. relevant Bits f...