coldfusion-9

What Notable Differences are there between Railo, Open Bluedragon, and Adobe Coldfusion?

耗尽温柔 提交于 2019-12-05 01:36:20
An attempt to capture notable differences between implementations: Adobe ColdFusion Railo Open Bluedragon (I'm aware of Smith , but don't believe it's still active). Include CFML and platform differences - syntax, feature, and extensibility. Note, this is not something I've not seen anywhere else, but maybe I'm just not searching correctly. So links to that end would count too. Update Here's my definition of notable in this context: something that simplifies solving a difficult problem. For example, Railo offers the <cfvideo> tag, which transcodes video - a non trivial task. Something I would

ColdFusion 9 line debugger for eclipse

人走茶凉 提交于 2019-12-05 00:51:28
问题 I see several references within Adobe's documentation regarding the line debugger. Look here, for example: Set up ColdFusion to use the Debugger I see mention of various Eclipse-related settings that I need to make. For example (from above): You can determine whether the Debugger server is configured correctly in Eclipse by selecting Window > Preferences > ColdFusion > RDS Configuration, and then clicking Test Debugger. However, I see no mention of what I have to do to configure my eclipse

Using Apache HttpComponents for http requests with NTLM authentication

穿精又带淫゛_ 提交于 2019-12-04 13:45:31
Quick background. CFHTTP doesn't support Windows NTLM/Authenticate authentication, only basic authentication. I need to make http requests that will have to authenticate against NTLM, so I've ended up rolling my own version of CFHTTP. I found Terry Ryan's article that uses the apache httpclient version 3.1 to perform digest authentication and have built upon that using version 4.1.2 instead which includes NTLM functionality. I have a function that will perform a get request and then other functions to handle returning a structure that looks like the cfhttp result set. The changes I made are

Coldfusion Local scope outside of a function?

依然范特西╮ 提交于 2019-12-04 13:04:53
What exactly is the local scope defined outside of a function? Consider the following code: <cfscript> local.madVar2 = "Local scope variable"; function madness() { var madVar = "madness variable"; madVar2 = "madness two variable"; writeOutput("local: <BR>"); writeDump(local); writeOutput("========================================= <BR>"); writeOutput("local.madVar2: <BR>"); writeDump(local.madVar2); writeOutput("<BR>========================================= <BR>"); writeOutput("madVar2: <BR>"); writeDump(madVar2); writeOutput("<BR>========================================= <BR>"); writeOutput(

Coldfusion HMAC-SHA1 encryption

拈花ヽ惹草 提交于 2019-12-04 10:07:45
There is an example HMAC-SHA1 here that works in javascript http://jssha.sourceforge.net/ Text to encrypt vibaHBXwUXFqVSg-+kTrqYJZEJkbVeqLc=bo.LlXGET12505351831husu9039http://api.tineye.com/rest/search/image_url=http%3a%2f%2ftineye.com%2fimages%2ftineye_logo_big.png&limit=30&offset=10 Key vibaHBXwUXFqVSg-+kTrqYJZEJkbVeqLc=bo.LlX Output 9e734661c9e8b6dc9b6b4b3def9769c00e8843b8 Issue I can't however duplicate the output in Coldfusion. I'm using a function from a previous Stackoverflow.com question <cffunction name="hmacEncrypt" returntype="binary" access="public" output="false"> <cfargument name

Include Java Files into Coldfusion

我只是一个虾纸丫 提交于 2019-12-04 08:36:45
How can I include jar/java files into my coldfusion project. currently I am using this line into me <cfscript> Me directory is looks like this website_name |__ Login |__ connection |__ display.cfm |__ twitter |__ com |__ ConfigurationBuilder.java in my display.cfm file I am calling obj in script like this <cfscript> configBuilder = createObject("java", "twitter.com.ConfigurationBuilder"); </cfscript> but it gives me error on this line when I run display.com and error is this An exception occurred while instantiating a Java object. The class must not be an interface or an abstract class. Error:

On keypress event, how do I change a ',' to a '~'

ε祈祈猫儿з 提交于 2019-12-04 05:27:26
问题 I have to prevent Coldfusion's default list delimiter ',' from being entered into a form input array. I am new to using javascript for validation purposes, and have never tried to switch out the values someone is typing in. How can I snag a comma, and replace it with a tilda? Javascript i've tried so far: $(document).ready(function(event){ var regExComma = /,/; $("[name='name[]']").live("keypress",function(event){ // i know i could check the numerical value, i feel this requirement can get

Creating QR Code with Coldfusion

我的未来我决定 提交于 2019-12-04 03:54:39
Has anyone gotten the "Open Source QR Code Library" to work with ColdFusion? I need to generate QR Codes in ColdFusion. I also found this tutorial on how to generate it using Zxing . But the tutorial is not clear on how to configure the files, e.g. what needs to be in which dir... Any help and alternatives are welcomed, thanks. Zxing uses two (2) jars: core.jar and javase.jar . The easiest way to install them is to place both jars anywhere in the CF classpath (example: C:\ColdFusion8\wwwroot\web-inf\lib). Then restart the CF server. That is it. Note: You can either compile the zxing jars

ColdFusion IsImageFile fails for jpg file

我的未来我决定 提交于 2019-12-04 03:25:58
问题 2 jpg images that look exactly the same (failing image above, no.jpg, resaved as yes.png) but one is not an Image according to IsImageFile function. Run this code #IsImageFile("http://fdiapp.com/ini/cms/file_uploads/yes.jpg")# ** #IsImageFile("http://fdiapp.com/ini/cms/file_uploads/no.jpg")# 回答1: I think the problem is that is a CMYK jpeg. ColdFusion 9 uses ImageIO internally, which afaik only supports RGB. (While some of the java suggestions in that thread do work from ColdFusion - the

How to restart Coldfusion Application Server when application times out?

送分小仙女□ 提交于 2019-12-03 22:38:38
问题 Is there any way to restart the CF server through the Application.cfc, when the application times out? As per Adobe documentation, they showed as follows: <cffunction name="onApplicationEnd"> <cfargument name="ApplicationScope" required=true/> <cflog file="#This.Name#" type="Information" text="Application #Arguments.ApplicationScope.applicationname# Ended" > </cffunction> What I would like to do is replace the <cflog> above with <cfexecute> as follows: <cfexecute name = "C:\CFRestart.bat"