cfml Questions
2
Solved
I am trying to use synthesised accessors on a component on Lucee (although this issue seems to be the same on ColdFusion too).
Repro code:
// Person.cfc
component accessors=true {
property firs...
Stubbs asked 25/2, 2015 at 23:36
1
Solved
I am experiencing an unexpected issue with ColdFusion Markup Language. Let's say I have the following components. If both a public and a private function are defined in a "base" component, can the ...
Acephalous asked 30/11, 2014 at 14:53
1
Solved
With this code:
<cfset foo = {}>
<cfset exists1 = !isDefined("foo.foo")>
<cfset exists2 = isNull(foo.foo)>
<cfset exists3 = isNull(foo['foo'])>
Railo passes ok (all True)...
Pithy asked 14/8, 2014 at 9:35
2
Solved
I'm trying to teach myself ColdFusion.
I have a string coming in from the database in this format:
domain.com
<br/>
www.facebook.com/facebookpage
<br/>
http://instagram.com/instagram...
Appulse asked 15/5, 2014 at 0:11
3
Solved
As a related sub-question - are there any CF unit test frameworks that support or make it easier to use mocks/stubs?
The 2 that I spotted in a quick google that look the most promising are MXUnit ...
Datura asked 30/9, 2011 at 3:54
3
Solved
I use the # symbol around every dynamic value in my application and after posting some of my code on here for help, I've been told there's no need to use the # in many places e.g. <cfif> stat...
Condemnatory asked 4/2, 2014 at 21:48
8
What would be the correct way to stop the white space that ColdFusion outputs?
I know there is cfcontent and cfsetting enableCFoutputOnly. What is the correct way to do that?
Doriadorian asked 11/2, 2010 at 2:48
1
Solved
How does one catch a custom exception with try-catch in cfscript?
<cffunction name="myFunction">
<cfset foo = 1>
<cfif foo EQ 1>
<cfthrow type="customExcp" message="FAIL!...
Amidst asked 12/12, 2013 at 15:9
2
Solved
The app: A JavaScript function listens for changes on form elements (input & select), and posts the data to a CFC method that assigns them to a Session struct. The struct is returned, making th...
Titter asked 5/6, 2013 at 18:48
2
Solved
I have been tasked with going through a number of ColdFusion sites that have recently been the subject of a rather nasty SQL Injection attack. Basically my work involves adding <cfqueryparam> ta...
Elisabeth asked 5/9, 2008 at 19:0
1
Solved
What would be the correct way? I think both work, but I wonder if there are benefits from one to the other.
<CFFUNCTION name="setSomething" access="public" output="no" returntype="void">
&l...
Omer asked 23/4, 2013 at 9:0
1
*NEW UPDATED FOR BETTER SECOND PART - NOW GETS TO "308 Resume Incomplete", even though file should be just one upload!
I am using the foundation of cfgoogle from Ray Camden. But Google has deprec...
Katz asked 2/1, 2013 at 10:1
3
Solved
I am learning to use <cfscript>.
Is there any way I can log some messages or values inside the <cfscript>?
like outside <cfscript> I can use <cflog>, Is there any way or T...
Worthington asked 10/2, 2010 at 11:8
2
Solved
I have a form which has many fields in the format of
name="field-1"
name="field-2"
name="field-3"
name="field-4"
etc....
On the form action page, I would like to be able to use a loop and b...
Corpora asked 2/4, 2013 at 17:15
1
I've been exploring different methods of structuring my ColdFusion applications and I'm looking for some opinions on the best way to provide application wide UDFs.
For each of my apps, I generally...
Embody asked 16/3, 2013 at 16:49
3
Solved
I have a windows 2008 server with Coldfusion 9 installed. I have an application that submits a form, and upon submit gets the 500 Internal Server Error page. I have checked the logs and nothing is ...
Meter asked 3/3, 2013 at 4:52
3
Solved
I would like to test https related development on my local machine before pushing it to staging and production.
The current url is: http://localhost:8500/mysite/index.cfm which works fine
If I t...
Phillane asked 3/3, 2013 at 22:44
2
Solved
FINAL EDIT: SOLVED, upgrading local dev to railo 3.3.4.003 resolved the issue.
I have to RC4 encrypt some strings and have them base64 encoded and I'm running into a situation where the same inp...
Baeda asked 11/1, 2013 at 22:33
4
Solved
I am using ColdFusion as my application server and SQL Server for the database. I have a select form element which lists a number of vehicles: Volvo S60, BMW M6, VW Jetta.
Based on what vehicle th...
Harrington asked 24/12, 2012 at 23:35
1
I'm running a legacy CF Fusebox 5.5 app within Railo 4.0.2.002 Express with Jetty 8 on Mac OS X 10.8 with java 1.7.
I'm also using jetty urlrewrite http://tuckey.org/urlrewrite/ (if that's relevant...
Kodiak asked 19/12, 2012 at 13:42
1
Solved
10
Solved
What are the best practices for securing a coldfusion webpage from malicious users? (including, but not limited to, sql injection attacks)
Is cfqueryparam enough?
Forward asked 18/3, 2010 at 17:54
19
Solved
We are just beginning the process of looking for a source code control system. I realize we are behind, but better late than never. None of the members on our team have experience with any systems ...
Inhumanity asked 2/2, 2010 at 16:46
11
Solved
Added: Working with SQL Server 2000 and 2005, so has to work on both. Also, value_rk is not a number/integer (Error: Operand data type uniqueidentifier is invalid for min operator)
Is there a way ...
Boccie asked 30/10, 2008 at 18:42
3
Solved
Does anyone have a good way to set up multiple CFML engines, and versions of them, together in a suitable environment for cross testing a CFML based application.
Ideally, I'd like this to be Ubunt...
Twopence asked 1/8, 2012 at 19:59
© 2022 - 2024 — McMap. All rights reserved.