coldfusion

Using Valums AjaxUpload with a CFC in ColdFusion 8

I was looking for an elegant way to upload images AJAX style. I'm new to all this mind you, and I couldn't find anything really simple and clear to teach me how to do this with a CFC and jQuery. There are some GREAT things out there from Ray Camden and others using Valum's AjaxUpload plug-ing (found here)but it was mostly using a CFM to ...

How to Update a Database with CFGRID info?

Hello again! :o I am working with a cfgrid and I'm not sure how to make it so when someone edits data in an entry it saves. <cfform> <cfgrid name = "degrees" query = "getDegrees" insert = "yes" delete = "yes" width = "500" height = "150" insertButton = "New Degree" deleteButton = "Delete Degree" colHeaderBold = "Yes" selectColor = "##...

Function with loop calling itself

I have a function, in which there is a loop which calls up the function. function displayItem(item, isChild) { if (isChild) { writeOutput('<li>' & item.name & '</li>'); } else { writeOutput('<li>' & item.name); } try { if (item.hasChild) { writeOutput('<ul>'); ...

Eclipse and ColdFusion 9 - Report Builder?

Does Eclipse support the ColdFusion 9 Report Builder? ...

CFDOCUMENT ignores font coloring when backgroundvisible is false

Hi there, Does anyone else get this problem or know a solution / workaround I could try as I'm running out of ideas? :-( I'm running this code on ColdFusion 9 - the idea is that it creates a PDF page (a front cover to a report) applies a watermark (a design I've been given with an orange background that I put my content on) and saves i...

cf ldap accessing RACF

Can Cfoldfusion 8, through LDAP, access IBM mainframe security system such as RACF? ...

Cannot get Step Debugging to work in Eclipse/CF 8

I just can't seem to get step debugging to work in CF 8 and Eclipse. Eclipse is running on my local machine and CF 8 is running on a non-local "intraweb" development server. I think I have everything setup correctly: RDS Working fine Server configured to allow line debugging on port 5005 (port 5005 is not being used on server) Added -...

How to "Reply to this email to comment" like Facebook?

A forum-like app I'm working on will send an email notification to the thread starter when a new replied is received. It would be nice if the owner can just reply the email to add a new reply to the thread. How can I implement the feature, i.e. "reply to this email to comment" like Facebook? Option A: scan the subject line/body? I don...

ColdFusion how to Prevent XSS Attacks in a WYSIWYG

I have a WYsIWYG editor in my coldfusion app and need to prevent XSS Attacks. Is there any Coldfusion ways to strip out all script type attacks? ...

CFMENU in IE6 shifts to the left and is wider than containing DIV

I have a horizontal CFMENU inside of a DIV, and in IE7/IE7/FF/Chrome, the menu is floated to the right, as specified in my CSS, but in IE6, the menu shifts to the left of the DIV that contains it, and it's width expands beyond the boundaries of the containing DIV. I've included all the applicable HTML and CSS below: HTML: <body> <...

Issue with CFFEED

Right, I'm working on a site with a couple different RSS feeds. My issue is one of my feeds works just fine, but the second one (based on nearly identical code) fails and I can't figure out why. Here's the code that works: <!--- Get the feed data as a query from the orders table. ---> <cfquery name="getNews" datasource="#DSN#"> ...

Coldfusion 9 CFIMAGE ICC Profiles - Not supported, y? & How to Resolve?

Im running CF9 and just learned that CF9's CFIMAGE tag does not support ICC Profiles, which makes the "capability" pretty worthless on the Mac, which adds ICC Profiles to all screengrabs. has anyone else run into this. Is there a work around or solution to support ICC profiles? Telling the users images w/o ICC profiles are supported is ...

AJAX Upload + Coldfusion

Hello, I'm using the following JQUERY Plug-in to upload ideas: http://valums.com/ajax-upload/ For some reason I'm getting the following error: The cffile action="upload" requires forms to use enctype="multipart/form-data". Even though the plug-in code has it: var form = qq.toElement('<form method="post" enctype="multipart/form-data...

Coldfusion, using GetHttpRequestData, to Store and Handle Files

I have a JQUERY file upload plug-in which allows users to upload files to the Coldfusion server. The plugin submits the files to the server in a way that requires me to use GetHttpRequestData() for the files contents. Here's what I have so far in terms of handling the file data: <cfparam name="URL.qqfile" type="string"> <cfset x = GetHt...

CFFILE Write- How to make Unique if there's a conflict?

Any idea why CFFILE Write does not support making it unique but CFFile Upload does? I'm using CFFILE Write to handle a GetHttpRequestData, and being able to support making it unique would be very helpful. Any ideas? ...

ColdFusion REGEX - to determine the file's extention

I'm looking for a REGEX to obtain a files extention. Given examples like: modocument.doc modocument.docx dasddsa.pdf kdsksdklsadklasdklads.png ads123.jpg I need a REGEX that provides the 3-4 char extention, but isn't fooled by things like: asdadsasdads.jpg.png And only gets PNG as seen above. thxs ...

ColdFusion: CFEXECUTE/FFMPEG Memory Issue?

So my application allows for users to upload video, convert it using FFMPEG and then transfer it over to the Flash Media Server. Lately, I've run into an issue. If ever there is an error when converting video, I automatically generate cfcatch report PDF. This time I came across a "Cannot allocate memory" error. This massively concerns m...

How to encode HTML form in coldfusion?

Hi, I'm new to coldfusion. I have page called test1.cfm <form action = "test2.cfm" method = "post"> Type your name and hit submit:<br> <input type = "Text" name = "txt1"> <input type = "Submit" name = "" value = "submit"> </form> And test2.cfm <cfoutput> success #form.txt1# <a href="test1.cfm">back</a> </cfoutp...

super() type functionality on ORM CFC

When I use CF9's ORM feature and generate an explict setter for my ORM CFC, is there anyway to call the default funcitionailty of the ORM CFC after i have done the work needed in the method. For example i am looking for something like this. Obviosuly the code will not run , and super is the wrong concept since the ORM CFC isnt inherting ...

Possible to redefine the SessionID in a ColdFusion session?

I'm trying to redefine the SessionID of a ColdFusion session, is this possible? ...