coldfusion

ColdFusion 9.01 on Java 7

核能气质少年 提交于 2019-12-30 11:54:07
问题 Is there a list of what is broken when trying to Run ColdFusion 9.01 on Java 7? I have experienced issues with PDF generation. This Link: http://blogs.coldfusion.com/post.cfm/java-7-support-for-coldfusion suggests that it is related to textarea on PDF But is there a complete list of known issues? 回答1: Java 1.7 Update 15 is now officially supported with Cumulative Hotfix 3 (now superseded by 4) http://helpx.adobe.com/coldfusion/kb/cumulative-hotfix-3-coldfusion-901.html 回答2: It's just like the

Parse CFML tags in PHP

你离开我真会死。 提交于 2019-12-30 11:34:19
问题 Background : I have been running a site on the blogger platform for the past 5 years. I was using the option of hosting the site on my own server, publishing via FTP. My server is running ColdFusion, so I decided to take advantage of that. I created Coldfusion custom tags that provided additional functionality and included those in many of may posts -- to be clear, the body of my posts. Google decided to shut off access to this FTP publishing option. I took that news as an excuse to move to

REST - 404 Not Found

青春壹個敷衍的年華 提交于 2019-12-30 10:56:07
问题 I am playing with ColdFusion 10's RESTful web services. First, I registered a rest service via CF admin. C:/ColdFusion10/cfusion/wwwroot/restful/ and called it IIT. Now, I have C:/ColdFusion10/cfusion/wwwroot/restful/restTest.cfc which is: <cfcomponent restpath="IIT" rest="true" > <!--- handle GET request (httpmethod), take argument in restpath(restpath={customerID}), return query data in json format(produces=text/json) ---> <cffunction name="getHandlerJSON" access="remote" httpmethod="GET"

How to change the amount of fields that can be posted in a form with IIS 7.5?

本小妞迷上赌 提交于 2019-12-30 09:48:10
问题 We've hit a problem with some forms in the admin portion of our web app. There are a handful of forms that contain a large number of fields (it can range anywhere from one input field to the hundreds). We've found that as these forms grow, there is a point where the server will throw 500 errors when a form is posted. After running a test, I was able to find that the server can handle forms with 100 fields in them; once 101 or more fields are used, we get the errors. We run Coldfusion, and we

Redirect to UTF-8 URL with ColdFusion

橙三吉。 提交于 2019-12-30 08:58:05
问题 I'm working on a system that uses UTF-8 characters in folder names for URLs. There's been no problem in navigating to these URLs and everything works as expected - except when issuing a redirect to another page on the site; whereupon the browser seems to encode the extended characters. To give an example, I'm attempting to redirect to the following relative URL: /geschäft/käfer/ If I visit that URL directly in the address bar, there's no problem. However if I change the location header to

many queries in a task to generate json

怎甘沉沦 提交于 2019-12-30 07:43:12
问题 So I've got a task to build which is going to archive a ton of data in our DB into JSON. To give you a better idea of what is happening; X has 100s of Ys, and Y has 100s of Zs and so on. I'm creating a json file for every X, Y, and Z. But every X json file has an array of ids for the child Ys of X, and likewise the Ys store an array of child Zs.. It more complicated than that in many cases, but you should get an idea of the complexity involved from that example I think. I was using ColdFusion

ColdFusion 9: int and type=“numeric” nasty bug?

旧时模样 提交于 2019-12-30 07:39:16
问题 I've just experienced a behaviour that defies any logic and could potentially lead to serious issues and was wondering if it was a bug or if the behaviour was itended and what are the best practices to circumvent the issue? If it's a bug, is there a patch? Here's the two wierd behaviours that when put together are a threat to any system's data integrity. int('1 2') -> 41276 isValid('numeric', '1 2') -> true Why? Well let's see... <cffunction name="deleteSomething" access="public" returntype=

Is it possible to rewrite url using ColdFusion?

北战南征 提交于 2019-12-30 05:21:04
问题 I have got a requirement for generating user friendly urls.I am on IIS. My dynamic URLs looks like, www.testsite.com/blog/article.cfm?articleid=4432 Client wants the urls should look like www.testsite.com/blog/article_title I know this can be easily done using IIS URL rewiter 2.0. But the Client wants to do it using ColdFusion only. Basic idea he given like, User will hit the url www.testsite.com/blog/article_title I need to fetch the article id using the article_title in the url. Using the

Accessing variables of a dynamic form

泪湿孤枕 提交于 2019-12-29 09:32:47
问题 I am creating a form with cfloop and need to access each variable individually when submitting the form. I need to use the selected entries of the form in a loop that will add my selections to a database. This is my form: <form method="post"> <input type="hidden" name="isPost" value="1"> ... <cfoutput> <cfloop query="client_admin_surveys"> <input type="text" size="35" name="surveyID" id="surveyID" value="#id#"> <input type="text" size="35" name="surveyName" id="surveyName" value="#name#">

Accessing variables of a dynamic form

人走茶凉 提交于 2019-12-29 09:32:16
问题 I am creating a form with cfloop and need to access each variable individually when submitting the form. I need to use the selected entries of the form in a loop that will add my selections to a database. This is my form: <form method="post"> <input type="hidden" name="isPost" value="1"> ... <cfoutput> <cfloop query="client_admin_surveys"> <input type="text" size="35" name="surveyID" id="surveyID" value="#id#"> <input type="text" size="35" name="surveyName" id="surveyName" value="#name#">