Data dodania Pytanie
2017-01-16 23:01 Populate Model from a Query with a One-to-Many Relationship »
I have two tables: surveyTemplateHeader surveyTemplateQuestions What I was looking to do was get the information from both tables: var q = dao.get...
(2) odpowiedzi
2017-01-16 15:01 Small tweak to get this regex to get it to do what I want »
I wrote a coldfusion regex to match times of day in the source code of a page in which they appear scattered throughout the page like this: <span...
(2) odpowiedzi
2017-01-16 11:01 How to access the event arguments passed to a ColdBox module? »
I have a view in my ColdBox application that is calling a module handler within the view like this: #runEvent( event="mymodule:home.index" )# Now I ...
(2) odpowiedzi
2017-01-13 17:01 Foreach() array.each() in coldfusion...backwards for array and struct? What gives? »
In php, whether array or struct(associative array) you just do this: foreach ($ra as $key=>$value){} and for an array you get 1=>first value,...
(1) odpowiedzi
2017-01-13 17:01 I'm getting the wrong year on a date for coldfusion »
I'm trying to get the first and last day of the current quarter for the previous year. For some reason, the following code, <cfset LastYear = da...
(1) odpowiedzi
2017-01-13 07:01 Where to upload the .bin file to install ColdFusion »
I have upload the .bin file to install ColdFusion on Ubuntu in the root directory. However, when I run the code to install the file, the file is not f...
(1) odpowiedzi
2017-01-12 21:01 ColdFusion 9 and Dropzone.js - send form elements on remove link »
I have multiple dropzones in my ColdFusion code as such: <cfform name='UploadFiles' action="uploadfiles.cfm" class="dropzone"> <input typ...
(0) odpowiedzi
2017-01-11 18:01 ColdFusion handling AJAX JSON data »
I am setting up a local API as an additional step in my external API call using AJAX. The sequence goes like this: Ajax call passes data to localAPI...
(1) odpowiedzi
2017-01-11 13:01 Get the current date including milli-seconds »
I have to track the current system time including milli-seconds using ColdFusion 11. I am using the Now() function but it outputs the date like this {...
(1) odpowiedzi
2017-01-11 04:01 ParagraphFormat() with numbers »
Apparently not all numbers have the same member functions in ColdFusion 2016 <cfset NumberString = 1> <!--- This works ---> <cfou...
(0) odpowiedzi
2017-01-10 23:01 number formatting with truncate »
I need to format some numbers without rounding them and also add two 0s if they are integers as follows. given : 10.20 , result : 10.20 given : 10.5...
(1) odpowiedzi
2017-01-10 20:01 CFQuery Giving Odd Internal Server 500 Error »
<cfif structKeyExists(url, 'results')> <cfquery datasource="UIAAWeb" name="fullQuery"> SELECT * FROM BusinessDirectory ...
(3) odpowiedzi
2017-01-10 19:01 Handling JQuery ajax success object data »
Im having a hard time handling the ajax object pass back. Im trying to loop over each object and output each data value from each object. AJAX call: ...
(3) odpowiedzi
2017-01-09 23:01 How to dynamically name structure elements? »
xls.each(function(v, k) { oid = v.OrderID; xlsindexed[oid] = v;//This gives me a struct with 9999 empty values. }); I'm trying to ge...
(1) odpowiedzi
2017-01-09 17:01 Sending/receiving SMS using coldfusion »
What are my options for sending an SMS using coldfusion? I've done a bit of research, but it's not a common language so I'm not finding a lot. So far,...
(2) odpowiedzi
2017-01-09 13:01 Coldfusion - Get user's IP when application is behind a load balancer »
My coldfusion web app is located behind a load balancer. I need to get the user's ip address. I have used the following but I am still not getting the...
(0) odpowiedzi
2017-01-08 22:01 How to keep excel from converting output to a date when using <cfcontent> and <cfheader> »
I am trying to create an excel file of sport scores using and but any score that is less then 13 is interpreted as a date. [eg. 15-25 is fine but 1...
(0) odpowiedzi
2017-01-06 21:01 CFQueryParam/cfsqltype for MS-SQL varchar(max) datatype »
I'm in the process of updating MS-SQL table structures to use nvarchar(max) instead of the text datatype. Previously, for my ColdFusion queries using...
(1) odpowiedzi
2017-01-05 20:01 Using CGI Scope to Create a working URL »
I am generating the url as: http://localhost:8500/project1/list.cfm?category=55&secondary=72&view=&showall=0&sortby=price&sortdi...
(0) odpowiedzi
2017-01-05 18:01 ColdFusion cfftp getfile exceeds timeout »
I am running CF 11. I have a file on a SFTP server that I want to get. This is a zip file about 60MB in size. I can get the SFTP connection. Howeve...
(1) odpowiedzi
2017-01-05 12:01 Format a text on cell in two color in Coldfusion »
Using Coldfusion 10, I need to format a cell contents in two color(Black and Blue). Let a cell on spreadsheet contains a string "Text1: Text2". where ...
(1) odpowiedzi
2017-01-04 23:01 Background Photo and form database change based on URL »
Ive been working on a website that shows hotel listings in different areas. On the first page you click on a map to direct you to a State page. I want...
(0) odpowiedzi
2017-01-04 10:01 How to fetch text from pdf using ColdFusion »
I created a pdf using cfdocument and some output in it. Now I want to extract the text back from this pdf back. How to do that? Here is how I created...
(0) odpowiedzi
2017-01-03 23:01 Form will not display results »
Problem: The form works fine in chrome, firefox, safari and IE 9 to current version. However, in IE8, the form does not work. By not work, what I mea...
(1) odpowiedzi
2017-01-03 22:01 CFC Undefined with variably defined method name »
After reviewing the following topics: ColdFusion 9 Dynamic Method Call Dynamic Method Call I still have a question regarding an error. I made an i...
(1) odpowiedzi
2017-01-03 21:01 Coldfusion pack(H* equivalent »
I am trying to emulate a php function in coldfusion. The Php output for the following; <?php echo (strtoupper(hash_hmac('SHA256', 'a cow jumps ove...
(1) odpowiedzi
2017-01-02 11:01 ColdFusion ListInsertAt() is not working »
I want to update an existing excel report generated in coldfusion with a single quote to one of the excel column so I trying to achieve this using bel...
(0) odpowiedzi
2016-12-30 19:12 ColdFusion - Create multidimensional array dynamically »
I'm using CF 10. As a script is running, I am creating an array containing distinct values that represent a single vehicle. I'm initializing the arr...
(1) odpowiedzi
2016-12-30 08:12 Display event in jQuery Fullcalendar using ColdFusion »
I have a problem displaying events(timesheet_desc) in full calendar. What could the issue be? var timesheet_date = new Date(); var d = timesheet_date...
(0) odpowiedzi
2016-12-29 07:12 How to clear text field value on history.back() »
I have a ColdFusion condition like this: <cfif txtTaxFileNo neq ""> <script> alert("NPWP Already Exist"); history.bac...
(1) odpowiedzi
2016-12-29 00:12 Select2 issues populating select »
This is my first try with select2 and I'm striking an issue which is probably something basic. The select control code: <select class="form-contr...
(1) odpowiedzi
2016-12-28 21:12 Coldfusion - Avoid IIS 404.0 error for specific files and do manual routing instead »
I am using coldfusion 10 and iis 7.5 and trying to create a custom routing for my project that avoids using query string. For example, the following ...
(2) odpowiedzi
2016-12-28 16:12 Any limits there for <cfpdf> merge? »
I am experiencing performance issues while writing and merging thousands of PDF files into single PDF file. Each PDF file is about 1.76MB. My JVM heap...
(0) odpowiedzi
2016-12-28 16:12 Ride Sharing App - finding surrounding origins and destinations »
I looked at several other SO questions that seem somewhat related, but not quite what i need (or i'm just not smart enough to connect the dots). Work...
(1) odpowiedzi
2016-12-27 19:12 Coldfusion limit cfloop to 10 »
I'm working with quite a large array of items in a cfloop. I would like to pare this down and add pagination. Is there anyway in my cfloop to limit th...
(2) odpowiedzi