The official community for ColdFusion.
Recently active
I have following code for my cftextarea and try to make the height and width I need for the form for the users.For some reason, it does not change the size even I modify row and col parameters.Is it something I am missing to adjust the height and width of cftextarea?Your help and information is great appreciated,Regards,Iccsi,<td><CFtextarea name="MytxtArea" id="MyTextArea" row="6" col="10"/></td>
Hi everyone,First time caller here.About to get started on a project, but the Host has cf10.Adobe has cf11 Developer.Q : Is cf11 developer backward compatible with CF10 ?CheersBrett
I have following code to get an array from jQuery to pass MS SQL Server stored procedure to update my tables.Is it the right way to access array from passing jQuery function?Your help and information is great appreciated,Regards,Iccsi,<cffunction name="MyFunction" access="remote"> <cfargument name="MyData" type="any" required="true"> <cfif isJSON(arguments.MyData)> <cfset arguments.MyData = deserializeJSON(arguments.MyData)> </cfif> <cfstoredproc procedure = "MySP"> <cfprocparam value = "#arguments.MyData[1]#" CFSQLTYPE = "cf_sql_integer"> <cfprocparam value = "#arguments.MyData[2]#" CFSQLTYPE = "cf_sql_integer"> <cfprocparam value = "#arguments.MyData[3]#" CFSQLTYPE = "cf_sql_integer"> <cfprocparam value = "#arguments.MyData[4]#" CFSQLTYPE = "cf_sql_varchar"> <cfprocparam value = "
I Have a page that displays a series of available items for the public to purchase. each of these items displays an image of the product. My cfimage code is made to scale-to-fit the stored image. normally the displayed results will all shoe different products and their corps pounding images. When I use the code below all of my different products will show the same image instead of showing the images that are linked to each product via a file path stored in the database. Is there a way to set the "name="myImage" dynamically so that each image will display and scale properly?<cfimage source="C:\ColdFusion9\wwwroot\shotthp\#product.proimage#" name="myImage"><!--- Turn on antialiasing. ---><cfset ImageSetAntialiasing(myImage)><cfset ImageScaleToFit(myImage,182,"","highestPerformance")>
I need to query and get all records that have been updated in the past 15 minutes.Ive tried in CF and MS SQLHere is what I have that doesn't workSELECT * FROM job_clock WHERE Job_Time_Out > dateadd(minute,-15,CURRENT_TIMESTAMP)
I have this code for a generic template: <cfset fileName="c:\temp\wordTmpDoc"&randRange(1,100000)&".htm"> <cfif fileExists(fileName)><cffile action="delete" file="#fileName#"></cfif> <cfsavecontent variable="htm"><CFINCLUDE template="#incl#.cfm"></cfsavecontent> <cffile action="write" file="#fileName#" output="#htm#"> <cfcontent file="#fileName#" deletefile="no" type="application/msword">Note the CFINCLUDE. I also have another template that goes through generating the html in a cfsavecontent and at the bottom it has essentially the same code but uses the HTML generated on the page as the content for the document. The above generic version brings up MS Word but the content is the HTML code, while the page that has local cfsavecontent wrapping the HTML, the document displays properly.
I have seen several questions unanswered.
I have this code: <table cellpadding="0" cellspacing="0" class="tablecolors"> <h2>Stars Counts</h2> <thead><tr><th>Employee</th><th>Stars</th></tr></thead> <tbody> <cfloop query="GetEmployeeTotals3"> <cfif GetEmployeeTotals3.csedept_id eq aFieldValue> <tr><td>#GetEmployeeTotals3.emp_namefirst# #GetEmployeeTotals3.emp_namelast#</td><td>#GetEmployeeTotals3.employeetotal#</td></tr> </tbody> <cfelse> <p>no results.</p> </cfif> </cfloop> </table> Here the query will show the cfelse and the results in the query.I just cant seem to figure out how i can get it if there are no results in the getemployeetotals3 to not display the table and show 'no results'.I have try putting in a counter but for some reason it doesn't work and gives me weird results.Maybe im putting it in t
Can anyone point me to an installer file for CF9 windows, 64-bit? I am upgrading servers and need to reinstall ColdFusion 9 Enterprise. I can't find the CF9 installers anywhere.Cheers.
I have following cffunction in my cfc and calling from jQuery.I use MS SQL Server 2008 R2 and the field is nvarchar(max) in the database.The function fails to update when the string more than 800 characters.I would like to know are there length limitation for cf_sql_varchar?I tried to changed to CF_SQL_LONGVARCHAR, but it still fails when the text longer than 800 characters.My users need to enter more than 800 characters.Another issue is when the text has '%' then it wipe out all text and pass null to the MS SQL Server.Any suggestion is appreciated,Iccsi,<cffunction name="Myfunction" access="remote"> <cfargument name ="MyField" required="no" default="" hint="My Field"> <cfstoredproc procedure = "MySP"> <cfprocparam value = "#MyField#" CFSQLTYPE = "cf_sql_varchar"> </cfstoredproc></cffunction>
I have a link on the form to modify a table for the drop down select control.The link works to add or modify data, but when I come back data entry form, the drop down does not refresh data. It remains same drop down, it does not add or modify the drop down.It seems the drop down keep cache memory.I would like to know are there any way to refresh the drop down box after user modify the physical drop down table.Your help and information is great appreciated,Regards,Iccsi,
Below are the steps I went through :. download the installer exe (ColdFusion_11_WWEJ_win.exe) : 571 106 928 octets. launch it --> nothing happen (I can see in tasklanager some cpu activity during few seconds then nothing). then I have tried to open the archive with 7zip and I have found two directories : windows and InstallerData. then I have tried to execute "windows\adobe_cf.exe" and I got immediatly the message : "Impossible to execute LaunchAnywhere - Error Windows 2 when loading Java VM"My java version is :java version "1.7.0_55"Java(TM) SE Runtime Environment (build 1.7.0_55-b14)Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode, sharing)Thank you for your support.Pierre.
In CF11, I'm using cfobject to reference a function in a .NET DLL assembly. I had placed this DLL assembly in \cfusion\wwwroot\web-inf\cfclasses\DotNetProxy folder. The function simply encrypts a string. I had it working perfectly just last week. I then had to re install CF11. I installed it the same exact way I did the first time just 2 weeks ago.Now when the same exact setup and script is run, it fails and I get "Error ajp-bio-8014-exec-x" in the application.log file, where x is an incrementing number. There is also a new .jar file created in that DotNetProxy folder every attempt I make. Looking through other logs, I do not see anything specific about this error so I have no clues on which direction to go. I do not recall "registering" the DLL assembly when I set this up the first time. I simply place the DLL in the DotNetProxy folder. Maybe that is it? Is anyone familiar with the above message when trying to access a DLL assembly, and what to do to fix this?
I have set up a Solr collection in CF 10 Administrator with following settings:File Extensions: .*Directory Path: C:/inetpub/wwwroot/test/Recursively Index Sub Directories: uncheckedReturn URL: http://localhost/test/Language: Default ( I also tried "English" )Inside the "C:/inetpub/wwwroot/test/" directory, I have 4 different types of files:.xls, .gif, .cfm, and .pdf. But every time when I try to update the index, none of the PDF fiels are indexed. All the other types of documents are indexed. I have looked at the PDF files' properties, none of them are "locked" or "protected".I am using the Enterprise trial version with all the updates applied.Anyone has experienced the same issue before?
I have the following code to upload file and using accept file type including "image/x-tiff, multipart/x-zip"The code works for pdf, txt and msword, but I got error message like when I upload zip or tif files.I would like to know if there is any configuration need to be done at server level,Your help and information is great appreciated,Regards,Iccsi, <cffile action="UPLOAD" filefield="fleAttachment" destination="#UploadFolder#" accept ="application/pdf, application/msword, application/vnd.ms-excel, text/plain, image/x-tiff, multipart/x-zip" nameconflict="MAKEUNIQUE"result="MyUpload">Only files of type application/pdf, application/msword, application/vnd.ms-excel, text/plain, image/x-tiff, multipart/x-zip can be uploaded. Verify that you are uploading a file of the appropriate type.
we are using a coldfusion component to authenticate Active directory users to give access to intranet websites, below code is working fine in development version of coldfusion 10 but when i move this to production (enterprise edition) , its not working and throwing an error message "class not found jrun.security.ntauth"<CFFUNCTION NAME="authenticateUser" ACCESS="REMOTE" OUTPUT="yes" STATIC="yes" HINT="Authenticates the user."> <CFARGUMENT NAME="userid" TYPE="string" REQUIRED="true" /> <CFARGUMENT NAME="passwd" TYPE="string" REQUIRED="true" /> <CFARGUMENT NAME="domain" TYPE="string" REQUIRED="true" /> <CFTRY> <CFSCRIPT> ntauth = createObject("java", "jrun.security.NTAuth"); ntauth.init(arguments.domain); ntauth.authenticateUser(arguments.userid, arguments.passwd); auth = true; </CFSCRIPT> <CFCATCH> <CFSET
These resets appear to coincide with a clearing of the cached queries for the DSN from memory, breaking all my sub queries that try to use the initial cached one. I am grasping at straws to discover the reset culprit, the DSN tests always show OK, there is not packet loss at the switch level. If anyone has some suggestions, I am all ears! The resets are completely random and under no load. My sql 2008 r2 box is set to unlimited connections. An example of a DSN setup is :Maintain Connections String Format [ ]Max Pooled Statements 100Timeout 20 Interval 7Query Timeout 0Login Timeout 30CLOB [ ]BLOB [ ]Long Text Buffer 64000Blob Buffer 64000Validate Connection [ ]I am running the following :CF Enterprise 10,0,13,287689Tomcat 7.0.23.0Ubuntu 1204 x64Java VM 20.4-b02Java 1.6 (Sun Microsystems Inc) I have seen it suggested to uncheck the maintain connections advanced options but this doesn't seem like a good approach to the problem and will cause more stres
I just downloaded both the CF Report builder versions for 8 and 9 and there is no English language help file included.Does anyone know where or how I can download this?Clicking on help just gives you a warning saying 'MS Html Help is not installed on this PC.'Michael
Hi,I have been searching a lot for a Windows Control Panel that supports ColdFusion DSN etc.Earlier HELM Control panel was there but since it was sold to Parelles, there is not development and it is a dead product now Does anybody knows any other Windows Control Panel which support CF?Or anybody developing module for WebsitePanel CF Integration?Thanks.
GreetingsI am trying to get query results that would show elapsed time in business days. I have been so far unsuccessful in getting the elapsed days at all.An appraiser's clock starts ticking when an order is entered in the system (order_create_date). The clock stops for the appraiser when an order is completed (order_complete_date) and the turn-around time to the client is (order_report_sent_date).I attempted:<cfquery name="get_client_tat" datasource="#Request.BaseDSN#"> SELECT order_ID, order_create_date, DateDiff("d", order_create_date, order_report_sent_date) AS client_tat FROM main_orders WHERE order_ID = #list_orders_all.order_ID#</cfquery><cfquery name="get_appraiser_tat" datasource="#Request.BaseDSN#"> SELECT order_ID, order_create_date, DateDiff("d", order_create_date, order_complete_date) AS appraiser_tat FROM main_orders WHERE order_ID = #list_orders
Hello, I am looking for ColdFusion programers in the Boston area. Also any suggestions on development companies that have Coldfusion developers available. Any suggestions.
I'm trying to understand when I would use cfinvoke vs cfhttp to consume a web service. Is it just two ways to skin a cat?Does the extension ?wsdl have to be added to the url, or can it be left off? I consume some remote CF services that work without it. Would the wsdl only be used with a remote component if it is to be registered as a component in cfadmin?Do I only need to register web services in cf admin when I don't want to use the full url in the call to the web service?I appreciate any clarification provided.
Hi,I am trying to get the Cold Fusion 9 Administration database connection to communicate to the database server.I have created an account on the SQL Server 2008 and used the account in the Cold Fusion 9 Administration database connection.When I verify the connection, the following message appears:Connection verification failed for data source: BUS_ULTC_Devjava.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database "BUS_ULTC_Dev" requested by the login. The login failed.The root cause was that: java.sql.SQLNonTransientConnectionException: [Macromedia][SQLServer JDBC Driver][SQLServer]Cannot open database "BUS_ULTC_Dev" requested by the login. The login failed.Thanks,Mike
Open Message to Adobe,Your marketing department does realize that you do offer a product called ColdFusion, correct? If so, one could not tell from visiting www.adobe.com -- at least not without specifically searching for "ColdFusion". I challenge anyone from Adobe to map me the shortest path from the Adobe home page to a ColdFusion link without using the search. I just spent about 5 minutes could not find a single reference or link to ColdFusion. It used to be under products-->all products, but now it's even missing from that page.Adobe, your own marketing (or lack thereof) department is contributing to the "coldfusion is dead" myth. Is the product being prepped to be sold off?
Hello, everyone.When Solr collections were first introduced in ColdFusion Server, the one thing that really irritated me was the fact that you cannot edit a Solr collection (ie, when you click on a collection in CFAdmin, you are given a default template with ".htm, .html, .cfm, .cfml" as the documents to index - you can't see what's currently there and add/remove anything.)I thought I had heard (guess they were rumours) that CF10 was supposed to give you the ability to alter the index. I'm running CF10, and it's the same as CF9 - clicking a collection gives default options, not the ability to add/remove document extensions.Is there a fix for this?? We have collections that were originally created a long time ago that were not documented what they are supposed to be indexing, and we have no idea of what to do if we need to change something.V/r,^_^
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.