The official community for ColdFusion.
Recently active
Hi All,Is there anyway for a Restful web service function to return a "ISO-8859-1" charset string instead of an UTF-8 charset?I have tried this in my function but it isn't working.<cfcomponent rest="true" restPath="/TestString"> <cffunction name="TheTestString" access="remote" returnType="String" httpMethod="GET"> <cfset res="Hey guys, I hope you like #trim(TheTestString)#"> <cfset TempString = CharsetDecode(res,"ISO-8859-1")> <cfset ReturnString = CharsetEncode(TempString ,"ISO-8859-1")> <cfreturn ReturnString > </cffunction></cfcomponent>Any ideas?Thanks!
I'm trying to test CF Builder 3 before deploying it to user machines so I can help them with the initial setup. However I'm confused by the process of linking code to the built in CF Express and the online help files are either lacking what I need to I just can't find the right document.EnvironmentWindows 7 64bit & Windows 8.1 64bitCF Builder 3 installed to the default c:\ locationCF Express installed with CFB3 into the default location inside of CFB3SVN repositories located in the User's Document folderI checked out a fresh copy of one of the repos and then added it to CFB3 by doing File -> New ColdFusion Project -> and changed the project location to be the repo location. Repo structureProject_Name - CFB3 project points to hereCustomTagsscriptswebroot - executable CF website code resides hereI then went to Run -> Run while I had index.cfm selected and I get this error.So I went to the Project -> Properties -> ColdFusion Project -> Additional Source and I a
Hi i want to retrieve fields value from Kendo Grid Models...I try to get it but not retrieve records in the Kendo.....Bellow is my code:Service.cfccomponent{ remote string function JsonRead() returnFormat="plain" output="false" { q = new Query(); q.setdataSource("TestingDataSource"); q.setsql("SELECT * FROM Product"); qResult = q.execute().getresult(); return serializeJSON(queryToStruct(qResult)); } struct function queryToStruct(required query data) output="false" { result = {}; columns = listToArray(arguments.data.columnList); for(r = 1; r <= arguments.data.recordCount; r++) { row = {}; for(c = 1; c <= arrayLen(columns); c++) { columnName = columns; structInsert(row, columnName, arguments.data[columnName]); } structInsert(result, r, row); } if(structCount(result) == 1) { result = result[structKeyArray(result)[1]]; } ret
Hi I want to split string(7<>2,,3<>6<>0.6) by specific character(<>) and store it in array...like c# code ://whwre dataList=7<>2,,3<>6<>0.6 string[] wordsStrings = Regex.Split(dataList, "<>");
Like for this code collapse not work properly:<!DOCTYPE html><html> <head> <meta http-equiv="Content-Type" content="text/html"; charset="utf-8"/> <title> Untitled Document </title> </head> <body> &
Does the Indesign SDK comes with Indesign Server installation? If not, how to get the SDK so as to use from Cold Fusion?
Dear All,I wanna make 2 selectbox which is contain CITY & Location. I have 2 table in my SQL : 1 - CITIES ID = city code City_name = Name of city 2- Locations ID = Location code location_City = CITIES Table / ID Field Location_name = Name of location on selected citynow I need to have 2 select box which the first is CITY name and second one contain Locations when i select City from CITY select box on second box just name of related location of selected city coming.Please help me how can i do itThanks
G'day:I am reposting this from my blog ("ColdFusion 11: allowedextforinclude functionality has changed. But the docs haven't been") at the suggestion of Adobe support:@dacCfml@ColdFusionCan you post your queries athttp://t.co/8UF4uCajTCfor all cfclient and mobile queries.— Anit Kumar Panda (@anitkumar85)April 29, 2014This particular question is not regarding <cfclient>, hence posting it on the regular forum, not on the mobile-specific one as Anit suggested. I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it.G'day:Remember this one: "ColdFusion 11: preventing files from being included? [WTH], Adobe?". I can confirm this verymoderatelyslightly contentious feature has been changed in ColdFusion 11, but the docs have not been updated to reflect the change.The issue is summarised thus (from the article linked-to above):
G'day:I am reposting this from my blog ("ColdFusion 11: custom serialisers. More questions than answers") at the suggestion of Adobe support:@dacCfml @ColdFusion Can you post your queries at http://t.co/8UF4uCajTC for all cfclient and mobile queries.— Anit Kumar Panda (@anitkumar85) April 29, 2014This particular question is not regarding <cfclient>, hence posting it on the regular forum, not on the mobile-specific one as Anit suggested. I have edited this in places to remove language that will be deemed inappropriate by the censors here. Changes I have made are in [square brackets]. The forums software here has broken some of the styling, but so be it.G'day:I've been wanting to write an article about the new custom serialiser one can have in ColdFusion 11, but having looked at it I have more questions than I have answers, so I have put it off. But, equally, I have no place to ask the questions, so I'm stymied. So I figured I'd write an article covering my initial questions. Maybe
I have following JavaScrip code which works for ColdFusion 10, but not ColdFsuion 9.Because I have ColdFusion production server so I need find a solution for ColdFusion 9.I use SQL Server 2008 as backend.If SQL server returns datetime type then I can get curr_date, curr_month and curr_year.The datetime type return is 'April, 25 2014 00:00:00', but I want to dispaly without time section and if it is possible that I need display like mm-dd-yyyy or yyyy-mm-dd have more compact display.If SQL server returns date type then rowdata, curr_date, curr_month, and curr_year are NaN.SQL returns '2014-04-25' when I use Date Type which is what I need, but ColdFusion does not recognize when I pass to the other form and it reads NaN.I understand that it is JavaScrip code, but for some reason they have different behavior on ColdFusion 9 and ColdFusion 10.I would like to know is it possible to get compact date format and ColdFusion can recognize as a date field to parse right information,Your help and i
Hi. I'm setting a new server using ColdFusion Enterprise with Apache to migrate several web application from and old server with ColdFusion 7 server. I'm currently doing research regarding multiple server instances in order to have a separate server for production apps and another for development apps (see http://help.adobe.com/en_US/ColdFusion/10.0/Admin/WSc3ff6d0ea77859461172e0811cbf363c31-7ff5.html and https://wikidocs.adobe.com/wiki/display/coldfusionen/Using+Multiple+Server+Instanceshttp://). In addition, I'm also doing research regarding application isolation to have separate production application in separate servers. I'm trying to identify all pros and cons for both "Application Isolation" and "Multiple Server Instances" to make a decision on whether I will proceed in applying these techniques. I have found several links that talk about some of the advantages but have not been able to find anything regarding possible disadvantages. Have anyone in this forum has used any of the
I plan to install ColdFuison Developer version on Ubuntu 13.10 Apache2 machine and would like to does ColdFusion support Ubuntu 13.10 and Apache2 web server.Your help and information is great appreciated,Regards,Iccsi,
Using the easysoft JDBC-ODBC bridge to connect to an Access DB. Has been working great since CF6. Currently no issues on CF9(solaris). We're working to upgrade our servers to CF10 on Redhat and have everything working except when we attemtp to verify our data sources that use this driver we get the following error:In the CF administrator: Connection verification failed for data source: csd_training_indexjava.lang.AbstractMethodError: nullThe root cause was that: java.lang.AbstractMethodError"Error","ajp-bio-8012-exec-1","04/08/14","16:50:43",,""in the server.log fileNote: EasySoft says "There is nothing in that stack trace to indicate CF is even connecting with Easysoft."Stack trace:"Error","ajp-bio-8012-exec-1","03/17/14","11:35:11",,""java.lang.AbstractMethodError at coldfusion.server.j2ee.sql.JRunConnection.<init>(JRunConnection.java:133) at coldfusion.server.j2ee.sql.pool.JDBCPool.create(JDBCPool.java:555
Greetings,We currently have a couple sites hosted on a server running CF MX7 Standard and are looking at the options for upgrading since MX7 is long out of support plus it lives on a Windows Server 2003 box and MS will stop supporting that OS sometime in 2015. I've done some searching to see if MX7 will even run on Server 2008 and it seems like the answer to that is a "maybe". From the few posts I've read, it sounds like move from MX7 to CF 10 can be a bit of of challenge and the suggestion is going with CF 9. Is that the general concensus? Has anyone successfully (or not) made the jump from MX7 to CF 10 (I see CF 11 is now out though) and have any stories to share?Thanks!Mark
Wow, embarrassing!When installing ColdFusion 11, the install screen references http://www.adobe.com/go/cf11-lockdown-guide which returns a 404 – File not found error.
I have A CFM FILE(testing3.cfm):<cfset month = #URL.Month#><cfset year = #URL.Year#><CFQUERY>SELECT .....code..</CFQUERY><HTML><table><thead><tr ><th>Month</th><th>Employee First Name</th><th>Employee Last Name</th><th>Stars<br/></th><cfoutput query=""><tr ><TD></TD></tr></cfoutput></table>--- more code, pretty much the same</HTML>I can see this 'report' when i click on the link depending on the year or month.(testing2.cfm) file This file gets data from a table from every month,which works good.I want to be able to send a email of these results to who ever I choose to send it to.For example not the same people everytime , I would choose who I put in the 'TO' email part.So maybe there would be a button/link that would open up the email message (outlook) and i be able to see what is on the html and be able to send it to the people I w
I have a development server and a call to webservice works just fine.On production it fails, ColdFusion comes to a slow death. The server's processor and resources all get maxed out. I've placed the webservice into a CFINVOKE tag wrapped by a CFTRY and CFCATCH along with a very short timeout.... and it still fails.CF 9 Windows 2008 R2.Any help would really help.
Hi i want to add DataTable in Coldfusion script...Like c# code...C# code is following: DataTable productPropertyFilterTable = new DataTable(); productPropertyFilterTable.Columns.Add("RowID", typeof(int)); productPropertyFilterTable.Columns.Add("PropertyId", typeof(long)); productPropertyFilterTable.Columns.Add("PropertyWeight", typeof(string)); &nbs
Hi fellows,Anyone know where I find the CF10 tags extension to Dreamweaver CS 5.5?I saw in the forum the guys talking about the cf10dreamweaverextensions.mxp to make the download, but I dont found.Where I make the download for this extensions?ThanksFabiano Magno Pechibella
Greetings,Recently, I heard that ColdFusion 9's projected End-of-Life is the end of this calendar year.http://www.adobe.com/support/products/enterprise/eol/eol_matrix.htmlProduct nameVersionBuildGeneral availabilityEnd of core supportEnd of extended supportAdobe ColdFusion9.x 10/5/200912/31/201412/31/2016Since ColdFusion 11 Enterprise became available this week, are there any plans to begin offering the ACE certification for ColdFusion in a higher version than 9?I don't see the point in getting certified for CF9 since it's in the process of being sunset.
I am runing the follow code in CF9 without any issue; I have issue runing the same code in CF10<cftry> <cfinvoke webservice="http://www.webservicex.net/CurrencyConvertor.asmx?WSDL" method="ConversionRate" returnVariable="ToCurrencyValue" > <cfinvokeargument name="FromCurrency" value="USD" /> <cfinvokeargument name="ToCurrency" value="EUR" /> </cfinvoke> <cfcatch type="any"> <cfset UpdateExchangeRate = "NOINTERNET"> </cfcatch></cftry>I added the following code - and it is working in one of my CF10 environment but I get WSDL access error when trying in a new CF10.<cfset args = {refreshWSDL=true, wsversion=1}><cfset local.service = createObject("webservice" , "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL"  
I have installed CF10 on an Amazon AWS Windows 2012 instance. No matter what I use for the admin console password during setup, the password is not recognized when setup is complete and I try to log into the admin console. I've uninstalled and reinstalled four times trying simple as well as complex password with no luck.
Has anyone had any memory or security issues when using cfpdfform and cfpdfformparam?
Hi guys,I am coding a web application using ColdFusion 8.The situation is as follow:- I type https://mypage.com/aaa/bbb.html on web browser where aaa and bbb.html does not exist in my web folder.- And this will drive the error 404 PageNotFound occurred, in the code that processing error 404, I tried to get URL aaa/bbb.html by using GetPageContext().getRequest().getRequestURI() but the result of this command is my created 404 error page.- I also tried to get URL by using CGI, but also couldn't get it. Can you guys show me the way to get URL when no page is found error occurred?Thank you very much in advanced!
I have connected directly to my network with the Ethernet cable and still lose connection. What do I need to do at this point?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.