coldfusion

Coldfusion 9 Flash Multifile Upload Widget fails due to unrelated code

你。 提交于 2020-01-16 00:49:03
问题 This issue continues along with the inability to run the remaining parts of the process in the application, namely the file sorting by file type and the compression capability. I'm running into the issue that my pdf compression code is causing the multifile uploader to freeze up at 99%, still successfully uploading the first file but preventing subsequent files from uploading. Issue 1: File upload fails when I try to exclude the pdf files from the list. Issue 2: The presence of the query and

Is JDK 6u14 Garbage First (G1) garbage collector, suitable for JRun?

自闭症网瘾萝莉.ら 提交于 2020-01-16 00:42:33
问题 Garbage First (G1) garbage collector http://weblogs.java.net/blog/opinali/archive/2009/02/here_comes_jdk.html Do you think this garbage collector is better for JRun, running ColdFusion 8? 回答1: I will tell you that updating the JVM in ColdFusion is a breeze, so I always update to the latest JVM once it's been released for a month. I haven't had any problems with any of the releases thus far and ColdFusion seems to be getting a little quicker with each update. That said, you should always

Coldfusion (Update Array using CFForm - Change values after Submit)

纵饮孤独 提交于 2020-01-15 23:37:49
问题 I have a simple form. Values are loaded from a database into an array and then the entire table is displayed using cfinput and cfselect tags to allow field editing. So, I was hoping to be able to change any fields up and down the table that is displayed and then click SUBMIT and display the changed fields but nothing is ever changed. The table just reverts back to the original and the changes to the tags dissappear. I don't want to have the user update each field seperately using a seperate

ColdFusion ServerFile is undefined in CFFile

青春壹個敷衍的年華 提交于 2020-01-15 23:37:15
问题 When I try to run the following code, I'm getting the error message: "Element SERVERFILE is undefined in CFFILE." . I've done this a million times. Can anyone see what I'm missing? <cffile action="upload" fileField="fileField" destination="xxxx" nameConflict="Overwrite" result="thisResult"> <cfoutput>#cffile.ServerFile#</cfoutput> 回答1: You are using the result attribute. So instead of cffile.serverFile , use thisResult.serverFile . Result Lets you specify a name for the variable in which

ColdFusion ServerFile is undefined in CFFile

空扰寡人 提交于 2020-01-15 23:36:35
问题 When I try to run the following code, I'm getting the error message: "Element SERVERFILE is undefined in CFFILE." . I've done this a million times. Can anyone see what I'm missing? <cffile action="upload" fileField="fileField" destination="xxxx" nameConflict="Overwrite" result="thisResult"> <cfoutput>#cffile.ServerFile#</cfoutput> 回答1: You are using the result attribute. So instead of cffile.serverFile , use thisResult.serverFile . Result Lets you specify a name for the variable in which

ColdFusion JSON object vs array of objects

笑着哭i 提交于 2020-01-15 12:09:48
问题 I'm calling the smartsheet.com api and they will either return an object or an array, I'm able to process the object into a CF Query with the following code, but having trouble processing the array. The JSON: [ { "id": 2070463980562308, "name": "Sheet1", "accessLevel": "OWNER", "permalink": "https://app.smartsheet.com/b/home?" }, { "id": 2810804673243012, "name": "Project Management", "accessLevel": "OWNER", "permalink": "https://app.smartsheet.com/b/home?" }, { "id": 3678697304680324, "name"

ColdFusion JSON object vs array of objects

人走茶凉 提交于 2020-01-15 12:06:08
问题 I'm calling the smartsheet.com api and they will either return an object or an array, I'm able to process the object into a CF Query with the following code, but having trouble processing the array. The JSON: [ { "id": 2070463980562308, "name": "Sheet1", "accessLevel": "OWNER", "permalink": "https://app.smartsheet.com/b/home?" }, { "id": 2810804673243012, "name": "Project Management", "accessLevel": "OWNER", "permalink": "https://app.smartsheet.com/b/home?" }, { "id": 3678697304680324, "name"

Output Sum of some column in week intervals throughout a year, week dates consistent with day

我的未来我决定 提交于 2020-01-15 10:33:26
问题 I need some help as I am stuck. This is using SQL and Coldfusion. Basically I have a table which list a completion of certain tickets along with what date they were marked complete. This table has district and area for example, which is used in the GROUP BY. So I want to count every ticket that was done on every week of the year, the user selects for example running the report. I will list a little of the SQL I have at the moment. SELECT SUM(CASE WHEN DATEPART(ww, completionDate) = 1 THEN 1

Coldfusion: CFHTTP with SSL encrypted Page (https://) - got an error

孤街浪徒 提交于 2020-01-15 07:07:27
问题 I'm making an cfhttp to connect to an encrypted page. Seems to work fine for some sites. I/O Exception: Name in certificate `pro.test.com' does not match host name `go.test.com' Is there a workaround to trust this certificate even if the host name doesn't match? 回答1: Think this is more Java question, and workaround should be affecting the JRE. Not sure if this will work in your case, but possible solution is to import this certificate into the JRE keystore. Generic description can be found at

Correct Parameters to pass to Encrypt AES in Coldfusion 8 (or 10)

╄→尐↘猪︶ㄣ 提交于 2020-01-15 06:11:47
问题 So I have (this doesn’t work b/c hex is probably wrong and the key and the IV are not converted correctly): (aesKey and aesIV are provided as hex strings from Third Party) They look something like this (not the same but should be enough to work with I replaced some values in the keys so they aren’t exactly the same: <cfparam name="aesKey" default="C20648780E8843795325F3BA5EC43183C8BFA2D26B5470BC309ED5BA6B142EFA"/> <cfparam name="aesIV" default="A53F0A6E6972A0095CFFDBE4F47C3CF8"/> <cfset token