The official community for ColdFusion.
Recently active
I'm trying to create Powerpoint files on the fly and all works well except for the placement of the content. It seems to center the content vertically regardless of my margin settings. Supposedly cfpresentationslide takes marginTop/Bottom/Right/Left as attributes, but it doesn't appear to affect the placement of the content. The main problem is that I'd like to add my own header to the slide and have it statically located at the top of each slide. This doesn't appear to be possible. I've tried every HTML/CSS trick I know of. Just outputting a simple "Hello World" yields a slide with several hundred pixels of white space at the top. It almost like it saves room for the header by default, but doesn't give you any way to write into that area.Anyone know of any tricks?Thanks,Eric RichardsonCF10 Standard
Hi all,after CF 9 Hotfix 4 we have problems with RDS (unable to authenticate on RDS server using current security information)!Any experiences or ideas?Thank you!BR
In my learning of OOP, I came across a statement indicating that Beans should only be able to get/set properties of themselves. As such, many times I have a getProperty() and setProperty() for the necessary properties of a Bean.But one of my properties is a struct, and I got to thinking "Well, the nature of this data should allow the user to perform not just 'set', but additional functions to add individual key/value pairs of data to that property. For example, a property called customHeaders (holds key/value pairs of header names and header values to be constructed when a response is generated) might have functions like:addCustomHeader( name, value )removeCustomHeader( name )clearCustomHeaders()But would functionality like this, because it is modifying property value, be something my ResponseBean would have in it, or is it something to better put into a ResponseService, that can be passed the ResponseBean object and then execute a ResponseService.addCustomHeader( ResponseB
I have a list from query that populate checkboxes (checked) in a form.However, when a user deselects some of the items from, I want them to be deleted from the database for that user.Here is the ex: this is how the form looks like: CategoryItem 80 6261. HS # 1 (87) chk chk2. HS #2 (59) chk&n
When I first installed CF9 on our Windows 2003, I only chose the Solr search services, thinking that the "ColdFusion 9 search services" was only for Verity, which we did not want. Turns out, as best as I can tell. ColdFusion 9 Solr Services will not work without the ColdFusin 9 Search Services. Can anybody quickly point me to documentation on how I can just install this ColdFusion 9 Search Service? I'm hoping I do not have to do a full CF9 install again.
HiI've been tasked with updating a ColdFusion 9.0.1 installation to the latest patches. I've started with Hotfix 4. The installation appeared to go OK, and the services started after I applied the update. However, when I went to moved onto the next update (APSB13-10) starting by browsing to the update file I ran into a problem. When I click on the "browse server" button to locate the .jar file for the next update I encounter an error: "Unable to authenticate on RDS server using current security information". I've also found that if I try to put the full path into the Update File line and hit "Submit Changes" it errors.This seems to be the same problem as http://forums.adobe.com/message/5256752#5256752, but there's no solution to the problem in that discussion.I've checked the RDS settings, and RDS is unchecked. I notice that this screen is different from the pre-upgrade screen, but this seems to be as a result of, I think, APSB13-03, which is i
We have CHF2 on our 9.0.1 server plus alll post CHF2 security updates. Just the other day I noticed that a cumulative HF 3 and 4 were released and I must have missed these in early 2013 when they were released. My question is is a CHF2 server with all security updates equivalent to CHF with all security updates? Or did CHF3 and CHF4 get some non security related hotfixes and other enhancements? I'm asking all of this as I'd like to get to the latest JDK 1.7.And if I should update to CHF4 can I just apply that directly? Or are there possibly a few files in CFIDE and WEBINF or jars that were the non security related hotfixes?
Hello All,I was trying to read an excel file in Coldfusion using the below code , but I got the following error.Code : <cfspreadsheet action="read" src="TestData.xlsx" sheet="1" rows="2-3" query="excelData">Error : Java heap space The specific sequence of files included or processed is: /mnt/cfcontent/icfinstance/cet/ceg_v2/readExcel.cfm, line: 5 "java.lang.OutOfMemoryError: Java heap space.Any one have any idea about this. Your help is well appreciated.Thanks in advance
I did some testing, and if I set some private CFC variables in the pseudo constructor on a bean, and then perform the respective setPropertyName( respectiveOptionalArgument ) inside the init() constructor, my setPropertyName() setters properly update the variables.my.propertyName value, and I've dumped this to verify that.The only difference I've seen between adding CFPROPERTY and not, is that when you dump the Bean, there is a presence of a PROPERTIES sub-structure which has the values listed. This doesn't mean much to me, because my Beans that have instance data all inherit from a BaseBean CFC that gives them a getMemento() function (which dumps the variables.my instance data).The only other thing I could think of that CFPROPERTY does is add an additional level of introspection, which has more value in development environments than production. Any thoughts?
I am indexing and searching and attempting to boost the results if found in a specfifc field, but the results do not appear as i expecthere is the cfindex<cfindex query="getUsers" collection="ilpaUserSearch" action="refresh" type="Custom" key="CUSTOMERCD" title="USERS" body="LASTNAME, FIRSTNAME, JOBTITLE,ORGNAME" salutation_s = "LONGSALUTATION" member_s = "CUSTOMERCD,ISMEMBERFLG" jobtitle_s = "JOBTITLE" orgname_s = "LORGNAME" orgname_out_s = "ORGNAME" &
Hi I have ti right clik to se the selectet I show you a video so you can see because of my engles spelling is not the best here is the link https://www.facebook.com/photo.php?v=370911783055696&set=vb.100004106312048&type=2&theater
Hello All,I have a java code to read excel sheet with more than 15000 rows of data. But any one have any idea about how to use the java class in coldfusion. So that I can create an object in coldfusion using CreateObject function and hence I can use the method inside java class to read the excel.Please help me by providing an example , it would be well appreciated.Thanks in advance.
I have a form with Javascript, two buttons "EDIT" and "SORT". There is Jquery-UI code for click and dragging list items that are pulled into the form from a database. When you click button "EDIT", it adds the HTML5 attribute "contenteditable" and adds a class "unsortable" which disable the sort function and allows you to edit in place. When you click "Sort" it removes the "contenteditable" attribute and "unsortable" class and lets you sort again. Problem - If the buttons are outside of the form then it works fine. If the buttons are inside of the form I get an error struct[empty]. Why? I don't need buttons that pass values, I just need them to trigger the javascript. Also, it is not a cfform, just a regular html form.There is a 3rd button, SAVE that when clicked will save the edited changes and order to the database. ...I haven't got that far yet. This is the only way I can figure to do an edit in place on this page... any ideas/help would be great!Thanks,gwarmo
Has anyone successfully converted a FILETIME date/time value into a MM/DD/YYYY format using ColdFusion? I am failing drastically, and it seems like an easy conversion.FILETIME format (details: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724284(v=vs.85).aspx) is a 64-bit value representing the number of 100-nanosecond intervals since January 1, 1601 (UTC).A database I'm working with has such values, and I want to display them in a user-friendly date format within my application.For example, one record is:13003368600The above number represents the following date and time:1/22/2013 @ 2:50 PMSadly I know this only because the FILETIME value gets written to the database by a third-party application, and within that application I specify it in the MM/DD/YYYY format.Can anyone offer me some guidance, or better yet has anyone accomplished this already and want to share code?
I just remotely installed CF 10 remotely on VPS machine running CentOS linux and apache. Install seemed to go fine, and I was able to start CF with no problem. However going to the administrator login (.../CFIDE/administrator/index.cfm) works, but CF tells me that my password is incorrect.
We're running ColdFusion 9.01 Enterprise, Windows Server 2008 R2 (OS version 6.1). The good news is that the server autostarts very quickly after the crash, such that it is hardly noticable.Beginning a few weeks ago, we noticed this behavior and we're not able to associate it with any change. What we've found is that every 1 hour and 7 minutes when the client purge is executed, we get a module fault in CFRegistry.dll. We've tried changing the purge interval and also have tried changing the storage from registry to MS SQL. No matter, the crash still occurs.Is this a known issue, or is it known under what conditions such a thing occurs? Dump is below from our event log.Thanks,Chuck WyattFaulting application name: jrun.exe, version: 4.0.7.43259, time stamp: 0x4a980f7eFaulting module name: cfregistry.DLL, version: 0.0.0.0, time stamp: 0x4a794bf8Exception code: 0xc00000fdFault offset: 0x000000000000ab57Faulting process id: 0x200cFaulting application start time:
Please suggest if any one have any suggestion to read MS Excel file with huge data. Do I need to go with cfspreadsheet or Java code.
it is more complicate to describe why i have to do this but it's the only way just an example below.My query to give me anthing from the table when i do the query to query to get what i want but when i use the left string function then i got an error below.Query Of Queries syntax error.Encountered "left. Incorrect conditional expression, Expected one of [like|null|between|in|comparison] condition, thanks<cfquery name="type" datasource="#dsn#">select * from [dbo].[requestType]</cfquery>results look liketype:=====ADDREMYURECDI want to do the query to query to get the REMYU<cfquery name="find" dbtype="query">select * from typewhere left(type,3) = 'rem'</cfquery><cfdump var="#find#">
The snapshot below says it all. Why on earth would my dev machine with no running requests, and no open database connections, kick off a slow server alert?I will tell you that at the exact same time this snapshot was generated, my other two servers WERE hung and were reporting "Unresponsive alerts", and they connect to the same databases. I am chasing down a chronic communication failure between our database and web servers where everything with a databae connection gets locked/hung at the same time every night, 7 days a week. The hang lasts anywhere from a few mins to 40+ mins.Is this why my dev server would report slow? And if so, is it the skimmers or what that's causing a slow server alert?? Would it only report "Unresponsive" if there were actual page requests hanging, vs. a "Slow Server Alert"?This is CF10 (update 12) 64-bit on Windows 2008 R2, IIS 7, connecting to separate Oracle 11g server.Thanks for any insights.Snapshot generated on : Sun Dec 08
Ok, this is a little complicated and it is not necessary limited to ColdFusion. (And seeing's how there are so few replies these days here, I'll cross post in various forums!)Here goes. I have a cflayout with several cflayoutareas, and nested cflayouts. In some of them I have a photos tab. In those photo tabs, I call a custom tag that displays a gallery of photos, dislays the primary one and offers thumbnails. Click on a thumbnail and a Javascript function (changeImage) uses htmlid.innerHTML=newpic. It works as expected. Perfectly!EXCEPT WHEN more than one Photo tab has images in it!The javascript function seems to get confused which cflayout tab it is in? Or which "instance" it is using?Also each "tab" has its own javascript function, so ... each redundant js function cancels each other out? So ... I went and ... - commented out the JS function in the custom tag. - copied it to the shell of my web site so it's ALWAYS there for any photo custom tag to find
I'm using Coldfusion Fusebox 3 and I would like to know how I can keep my app from throwing an error message if someone thoughtlessly removes the Circuit and fuseaction from the URL.For example, if the original URL is: http://www.noname/Intranet/index.cfm?fuseaction=Bulletins.main...and someone removes the circuit information so it reads like the following: http://www.noname/Intranet/index.cfm?fuseaction=...the app throws an error message. Can I code against something like this happening?Here is my fbx_Settings.cfm file as it exists right now. Thank you.<!--- In case no fuseaction was given, I'll set up one to use by default. ---><cfparam name="attributes.fuseaction" default="Login.showLoginForm"><!--- useful constants ---><cfparam name="request.self" default="index.cfm"><!--- should fusebox silently suppress its own error messages? default is FALSE ---><cfset fusebox.suppresserrors = false></code>
All links to ColdFusion 8 documentation (such as on this page: http://helpx.adobe.com/coldfusion/archive.html) seem to redirect to http://helpx.adobe.com/coldfusion.html now.
Hello,I was wondering if someone could quote a price for standard single Coldfusion 10 license for a Virtual Machine.I can't seem to find any prices. Also, it is not an upgrade.Thank you in advance,Tony.
We are using ColdFusion MX 7 on Windows server 2003, since we have updated Java to version 7u40, we get the below warning message:This cause everytime user wants to use the application which uses Java this message pops up.Could you please help us to fix this issueThank You
After uninstalling a failed CF10 installation, we reverted to CF9 which is working fine except for the CF Administrator. My first guess is mappings. But of course I can't check the mapping because CF Administrator is not working.Where do I find the mappings so I can check, and perhaps modify them?Thanks!
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.