The official community for ColdFusion.
Recently active
Is there a way to apply an Access Control List to ORM components? Or maybe another methodology to limit record access depending on the users role(s)? I couldn't find anything on the Web about this. Thanks!
I am not sure how to do it. I have the augosugess working fine from the first input field. When i start enter the name into this box, i want other information automatic to populate into other text boxses as well like company , descp for this name. Can some some pleae help?<cffunction name="lookupItem" access="remote" returntype="array"> <cfargument name="search" type="any" required="false" default=""> <!--- Define variables ---> <cfset var qArt=""> <cfset var result=ArrayNew(1)> <!--- Do search ---> <cfquery name="qArt" datasource="art"> select *
CFCHART is not rendering on our server for some reason. We cache to disk and are generating a .SWF file. The. SWF is in the chart cache folder ok, and can be viewed separately, however it will not render within a web page. When we view source we see this <object> tag:<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,2,0"ID="Images_8879629000100025_SWF" name="Images_8879629000100025_SWF" WIDTH="900" HEIGHT="350"><PARAM NAME="movie" VALUE="/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Images/8879629000100025.SWF"/><PARAM NAME="quality" VALUE="high"/><PARAM NAME="bgcolor" VALUE="#FFFFFF"/><EMBED src="/CFIDE/GraphData.cfm?graphCache=wc50&graphID=Images/8879629000100025.SWF" quality="high" bgcolor="#FFFFFF" WIDTH="900" HEIGHT="350" TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Versio
Hi,We run CF10 standard on IIS8 Win 2012 and our CF Admin is going haywire. It frequently will not answer on 127.0.0.1 and when it does load it sometimes is missing information in the left nav bar or right hand pane.Today we see "Service Temporary Unavailable!The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Jakarta/ISAPI/isapi_redirector/1.2.32 ()"and yet the web site on the server is running fine.We run FusionReactor and when the CF Admin is trying to load there are no running requests to stack trace. How can we debug this?Sometimes, if we press CTRL-R repeatedly, it will load. Individual frames of the admin can be loaded if their address is entered, but the whole thing doesn't load. Most times it just refuses to load in its entirety and if we are lucky enough to get to a login screen, the system will not load after that screen.On Chrome browser we got the Jakarta error, but in MSIE we get in
Hi, What i am try to do is when i start enter the name into text box, i want the result is auto refresh or filter into the cfdiv tag. My code did not work, can some one please give me a hand?Thanks <cffunction name="getArtDescription" access="remote" returnType="query"> <cfargument name="name" type="any" required="false"> <cfset var data=""> <cfset var result=""> <!--- Get data ---> <cfquery name="data" datasource="#dsn#"> select * from [dbo].[Arts] WHERE nam LIKE '#ARGUMENTS.name#%' </cfquery> 
<cfif structKeyExists(MyQuery, "MyID")> <CFSET form.MyID= MyQuery.MyID></cfif> <cfif structKeyExists(url, "MyID")> <CFSET form.MyID= url.MyID></cfif>I use above code to check if query ID exists then assign value to my form variable.It seems that it does not work, but it works for url.Can you please help and advise are there any way to check value in query and assign to the form if it is defined?Your help and information is great appreciated,Regards,Iccsi,
HI,I am trying to set up Coldfusion and IIS7. Everything has installed but when I set up a coldfusion website I can see the homepage but when I click to view another page I get a 404 error. The pages are definately there but I cant figure out what is wrong. If I go to the site through the server IP address then everything works fine but not when I use the proper web address.Is there anything else I need to configure to get this to work?any help appreciated!
After a couple of hours of errors and googling, I finally got the dev edition of CF10 to install. The admin page at localhost/CFIDE/administrator/index.cfm is blank, as with every cfm/cfml page on my server.Can anyone give me some advice to get this running? Thanks,Mike
Are there any pro/cons I should be aware of in this case?My application has users. I could create a 'user' object with the appropriate properties and methods to hold the logged in user's information, performing things like: user.getName() and user.logout(). But on the other side of the coin, if I wanted to get the name of a user, I could simply have a structure like SESSION.user.name and just retrieve it's value. And if I wanted to perform a logout, I could simply call the function in my security component and pass the needed info.I like the idea of using OOP where possible, but is there any issue with going that route vs more simplified non-OOP methodologies?
I'm working on my framework and am at a point where I want to store user information into the SESSION.In my onSessionStart() I've created the default structure, set it into the SESSION scope, and all is well. To my understanding, if session management is on, ColdFusion attempts to provide a CFID and CFTOKEN value to the user's computer that is tied to the current session, right? If that user is accepting cookies, those ID's are stored as cookies on their machine, and each time they make a new request to the server, their browser sends those identifiers so that CF can see what session information is tied to that user (due to the stateless nature of HTTP).But if the user has cookies disabled, I'd expect that CF would see that user's subsequent requests as being those from a brand new user, because no IDENTIFIER is being provided in the request, so CF would end up firing off another CFID and CFTOKEN to the user each and everytime they made a request, correct? This is whe
I am working on a Project where i have to connect to different DB via SSH tunneling in coldfusion.Can any one help me how to connect it.Thank you Santosh
Hello, Sending an AJAX call with jQuery to a ColdFusion Component. The data is returned. But the callback-function suggest that the Boolean value True equals False in the .ajax method. And I don't get it. Help me Obi-Wan.See video: http://youtu.be/GlNj3WzYjiI
I'm trying to find out if ColdFusion 10 will work on Windows Server 2012. The System Requirements on this page: http://www.adobe.com/products/coldfusion-standard/tech-specs.html does not include Windows Server 2012. However the Adobe Knowlegebase article at:http://helpx.adobe.com/coldfusion/kb/new-platform-support-coldfusion-1 0.html indicates that the lastest installers do work on Windows server 2012. Based on the Kb article is it safe to assume I can install ColdFusion 10 on Windows Server 2012 using the latest installer?Thanks!
Error: : Could not find the included template /7cswinery/cblog/skins/cutline/index.cfm. Note: If you wish to use an absolute template path (for example, template="/mypath/index.cfm") with CFINCLUDE, you must create a mapping for the path using the ColdFusion Administrator. Or, you can use per-application settings to specify mappings specific to this application by specifying a mappings struct to THIS.mappings in Application.cfc. Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible.getting this error after install at www.7cswinery.com/cblog/files are there path is WRONG how do I cange it MANGO BLOG IS NOT SUPPORTED BY MFGYOU ARE USING ITHELPwin2k8 server, iis7.5, CF8, mangoblog1.7other cf apps working FINE
I know this was an issue that was supposedly fixed in the first update, but I applied that and I'm still experiencing the error. Any ideas?Version says ColdFusion 10,283649
Hi,I have been developing in ColdFusion since Version 4.5 but recently I am bit out-of-date on the latest products. I have a coldfusion server version 9 with a SQL Server database.I need to write a auction application and need to create a web application rather than a web page. What technologies would be best to do this?CheersGary
Hello, we are trying to upgrade our ColdFusion from version 8 to version 9. Our current production version is "enterprise" but the upgrade we used was a "standard" edition. We had tested the upgrade previously and did not encounter any problems. However, when we tried to release to production, we cannot get our application to work.The installation completes - however, it did not carry over any of our CF 8 settings. So, we had to configure everything over again.Yet, our website will no longer load. It just sits there spinning. We did not see anything in the logs or any errors on the application server. However, if you tried to access the application web page from a client machine after it spun for awhile it would return an error message that said 403: Forbidden. Permission denied based on the credentials supplied.Has anyone encountered anything like this? Could this be because we used a standard upgrade on an enterprise server?
I'm having a problem with the coldfsuion adminstrator in cf9. We are trying to set up usernames / passwords with restricted access instead of using one single admin account.However, if we create a user and restrict access to say logging only, we get a coldfusion error on the left side where the menu list normally appears. It says "Element verityk2server is undefined in a CFML structure referenced as part of an expression." The only way we have found to prevent this error is to also give access to Data Sources.However that kind of defeates the purpose of restricting access if we have to give access to the Datasources section as well.Anyone know a way around this error?
I have a form that submits to itself, validates data, manipulates data if no errors are detected and redirects to another page to confirm the action to the user. If an error is detected, it will show them above the form.In this case, the form submits to a hash tag (internal anchor) to forward the user to the errors instead of having to scroll.The issue is that during redirection, the hash tag is added to the destination URL. Here is my test case:<!DOCTYPE html> <head> <title></title> </head> <body> <cfif StructKeyExists(form, "doRedirect")> <cfif form.doRedirect eq 1> <cflocation url="http://adobe.com" addtoken="false"> &
Hi AllHope someone can help me on this. We run a multi instance CF server with 3 "slave" instances, which handle the site requests and the CFusion instance that handles the scheduled tasks.The application I'm writing has a few scheduled tasks that need setting up each time it gets installed and it is installed multiple times for a variety of clients. So far, this has been done either manually setting them up individually on the CFusiion instance or I created an admin menu extension that fires them off (Knowing the <cfschedule> is being run on CFusion, thus installing them to that instance).My question however is; it would much more efficient if the application could check for the existence of the scheduled task and if it's not there, install them. The problem though is as the request would be coming from initial install, thus a web request, it would be coming from one of the "Slave" instances and install the scheduled tasks to them = bad. Is there any way to direct a specific req
I am very new to adobe packages and our company has recently purchased captivate 7 so I can create e-learning packages. I had an hour training session to show me the basics from someone who has captivate 4. I am in the process of creating a package and what I want to be able to do is have a question slide with the option of a true/false answer but what I am struggling to do is if the person gets the answer wrong I want a text box to pop up to say incorrect then why it is incorrect (i.e. the reasoning behind it). Can you do this and if so how? Thanks, Laura
Hi all,i am new on cq5 , while creating new project on crxde lite i am getting error like 409 conflict cant save project as no definaition for child node, i tried a hard to find thecause , so please give me some pointer to resolve the problem.Thanks
I have a report which has column footer and report footer.The column footer always print in the bottom of the page and it happens the report has half page then report footer print before column footer.I would like to know is it possible to have column footer just after last detail line print and report footer print after column footer which is more professinal report format,Your help and information is great appreciated,Regards,Iccsi
I have seen a problem with CF10 and XMLValidate when running CF behind a http proxy. My code is evaulating an XML document against its DTDIn CF8 and CF9 you added this to the args in JVM config e.g-Dhttp.ProxyHost=192.168.1.1 -Dhtp.proxyPort=8080then all the http trafic went via the proxy.However in CF10, this doesn't appear to work. Has anyone seen this ?I did some tests and CFHTTP will work if you explicity pass the proxy, but it dosen't work and XMLValidate doesn't work even if the proxy is set in the JVM.configsee sample code below im using to test.My Cf10 box is running Solaris 10 on ultrasparc<h1>Proxy Host - verify jvm.config works</h1><cfset sys = createObject("java","java.lang.System") ><cfoutput>#sys.getProperty("http.proxyHost")#</cfoutput><h1>with proxy -works</h1><cfhttp timeout="5" url="http://www.adobe.com" result="stResult" method="get" proxyServer="192.168.1.1" proxyPort="80080"><cfdump var="#stResult#"><h1>Sy
I am applying for jobs with the state and every week they publish a list of new positions that have just been posted on the following link: https://forms.spb.ca.gov/bulletins/weekly.cfmand also at http://jobs.spb.ca.gov/wvpos/search_p_ejv.cfm?classcode=5393&criteria=associate%20governmentalIt is a .cfm but only displays 15 records at a time, I was wondering if there is a tag or way to have it display all 300 something records at once? My ultimate goal is to get just the full table into a excel spreadsheet while retaining the HTML formatting so the links still work.My thought is that the state has set it up this way to only display a set number of records at a time, the data is not private or protected, I am simply seeking a easier way to access it in aggregate.Thank you in advance for your suggestions and help!
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.