cfml Questions

2

Solved

When coding a cfqueryparam or cfprocparam, cfsqltype is optional. However, I've usually seen it coded. Are there any benefits to specifying cfsqltype?
Rurik asked 19/3, 2012 at 22:11

3

Solved

So, given that I have an instance of this component: foo.cfc <cfcomponent> <cffunction name="locateMe"> <cfreturn "I don't know where I live!"> </cffunction> </cfcom...
Okapi asked 16/2, 2012 at 21:4

5

Solved

Is there an equivalent of JSLint for ColdFusion?
Holcombe asked 8/6, 2009 at 22:51

2

I'm working on an application that requires an autocomplete field on a search form. The application is CFML on Railo 3.3. I'm using jQuery UI autocomplete and have implemented the lookup on the ser...
Addiction asked 9/9, 2011 at 13:14

1

Solved

I have several queries that I cache using the cachedwithin="#CreateTimespan(...)#" attribute of the cfquery tag. There are times when I need to clear the cache (or just re-execute the query to get ...
Necolenecro asked 13/12, 2011 at 19:48

4

Solved

Been going over my predecessor's code and see usage of the "request" scope frequently. What is the appropriate usage of this scope?
Encounter asked 25/8, 2008 at 4:59

1

Solved

Why don't math operations in ColdFusion seem to be affected by floating point math issues? Take the code: result = 0.06 + 0.01; writedump(result); writedump(result.getClass().getName()); Which ...
Alarice asked 14/9, 2011 at 20:21

1

Solved

I'm curious how the maxlength attribute works in CFQUERYPARAM when you are passing a list. Does the maxlength apply to the length of the entire list (i.e. length of "1,2,3,4,5,6" = 11)? Or does the...
Dreher asked 12/8, 2011 at 14:56

2

I want to create a flowchart in OpenOffice Draw. Since there's a lot of steps to show (and may change in future) but I can extract the data, I want to automate the creation with the following step...
Mcmichael asked 18/10, 2010 at 17:36

2

Solved

I want to be able to convert a string number such as "1,427.76" to a number in coldfusion but the comma is making it fail. Is there a simple way to do it besides having to remove the comma? <cf...
Autoradiograph asked 25/1, 2010 at 17:11

3

Solved

As with all development, CFML via ColdFusion, Railo or OpenBD we run into common programming problems. For these problems must programmer turn to patterns (or anti-patterns). However the classic re...
Overdone asked 30/7, 2009 at 21:6

4

Solved

An attempt to capture notable differences between implementations: Adobe ColdFusion Railo Open Bluedragon (I'm aware of Smith, but don't believe it's still active). Include CFML and platform ...
Roxie asked 18/12, 2010 at 21:17

2

Solved

Which of these is more efficient in ColdFusion? isDefined('url.myvar') or structKeyExists(url, 'myvar')

10

Solved

I am taking over a lot of the ColdFusion stuff that is lingering at our shop and they are insistent it stay on ColdFusion and that new projects in this area MUST be done in CF - basically thi...
Dispossess asked 29/7, 2010 at 11:23

4

Solved

I'm working on a site that still has a lot of scripts in ColdFusion. I need to move it to a new server. I much prefer Apache/Linux instead of IIS/Windows. I've seen some info here and there about r...
Maine asked 29/3, 2010 at 20:19

1

I have 2 tables. One is for categories, the second is for Questions. category table: category_id category_name questions table: question_name question_id category_id How can I loop t...
Gereld asked 3/6, 2010 at 23:45

2

Solved

I am developing an app right now which creates and stores a connection to a local XMPP server in the Application scope. The connection methods are stored in a cfc that makes sure the Application.XM...
Rappel asked 17/5, 2010 at 17:26

3

Solved

I'm using custom SMTP servers and would like to verify the connection when user enters his own server credentials. Exactly the same type of check as Adobe CF and Railo allow to do when adding mai...
Opus asked 22/4, 2010 at 8:15

1

Solved

The following works fine in CFMX 7 and CF8, and I'd assume CF9 as well: <!--- 'conn' is a JDBC connection ---> <cfset stat = conn.createStatement() /> <cfset rs = stat.executeQuery(...
Littlejohn asked 9/2, 2010 at 6:7

6

Solved

This has been one of the biggest obstacles in teaching new people ColdFusion. When to use # is ambiguous at best. Since using them doesn't often create a problem it seems that most people gravitat...
Tetany asked 1/7, 2009 at 11:18

4

Solved

Are ColdFusion objects (i.e. CFCs invoked via cfobject) normally passed by reference or by value (copied in memory)? And is it possible to force ColdFusion to pass an object in either manner?
Bandsman asked 20/10, 2008 at 19:27

5

Solved

Google does not really deliver much content (or my query sucks). Has anyone made the switch and can share the experience?
None asked 17/6, 2009 at 7:9

1

Solved

How to handle timezones in CFML? So far all apps I've wrote just use the default timezone of the CF server and/or SQL server. What do you guys usually do? Do you store all dates in GMT with GetTim...
Slothful asked 27/4, 2009 at 22:55

4

I am coding in ColdFusion, but trying to stay in cfscript, so I have a function that allows me to pass in a query to run it with <cfquery blah > #query# </cfquery> Somehow though, when I...
Tippets asked 5/11, 2008 at 20:43

© 2022 - 2024 — McMap. All rights reserved.