coldfusion

ColdFusion "system has attempted to use an undefined value" Null Pointers

So I have this error on a feed that magically stopped working for no reason. The error i get is "The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. " OK, i look up Null pointers and Ben Nadel (god...

coldfusion scheduled tasks iis permission

I am trying to use the ColdFusion administrator to schedule a task. It is returning an error which says that there are not enough permissions to execute the task. I can successfully execute the cfm file in IE, so it's not an error with the actual file. So from what I've read about this, it appears to be an IIS problem. Do I need to c...

What is an Unexpected End of Part error in ColdFusion?

We are using Adobe ColdFusion 9 and are receiving the following error sporadically. I can not find any information on it. Does anyone have any ideas? java.io.IOException: unexpected end of part at com.oreilly.servlet.multipart.PartInputStream.fill(PartInputStream.java:96) at com.oreilly.servlet.multipart.PartInputStream.read(...

how to reference a coldfusion object via ajax

I'm working with a page in Coldfusion and I have instantiated an object on that page. Let's call the object myobject. I'm able to access all the methods of that object (such as myobject.getName()) on this page and all pages that are included as part of the page flow. But now I load a page in via ajax, and I want to be able to reference ...

coldfusion - bind a form to the database

Hi, I have a large table which inserts data into the database. The problem is when the user edits the table I have to: run the query use lots of lines like value="<cfoutput>getData.firstname#</cfoutput> in the input boxes. Is there a way to bind the form input boxes to the database via a cfc or cfm file? Many Thanks, R ...

Coldfusion: cfchart: clips or crops my series marker at the top of the graph

I am plotting a line chart. (aka Frame chart) My series markers are begin clipped or cropped when the value is the maximum. I have data from 0.0 to 10.0. When the value is 10, it does not show the complete marker. I really don't want to have to set the scale to 11. (make no sense as the values can never be greater than 10.0 and looks ...

Could not connect to remote facade url

I am trying to use mxunit eclipse plug-in for testing my test cases. I am using eclipse 3.6.0 with cfml plug-in (cfeclipse ver 1.4.2.*) For ColdFusion project. On the fifth step of plug-in configuration, I get the following error: Could not connect to facade URL. Try running this in a browser: http://localhost/mxunit/framework/Remote...

ColdFusion | Split Database String

I have the following: <dd> <select id="contactLocation" name="contactLocation" size="1"> <option value="Online"<cfif attributes.contactLocation eq "Online">selected</cfif>>Online</option> <cfoutput query="storeLocations"> <option value="#storeLocations.name#"<cfif attributes.contactLocation eq "#storeLocation...

Cannot render events on FullCalendar from JSON feed

Hi, I got a page that returns json info from a cfc. the json looks like this: [{"allday":true,"title":"event1","userid":1,"end":"","classname":"","editable":true,"start":"2010-09-01","id":1,"url":""},{"allday":true,"title":"event2","userid":1,"end":"","classname":"","editable":true,"start":"2010-09-10","id":2,"url":""},{"allday":true,"t...

cfselect problem

Hi, I theory seems to be the answer to the pre populated selectbox issue. <cfselect name = "regions" query = "getRegions" selected="10" value="id" display="name" ></cfselect> this is what it outouts <option value="8">Dumfries & Galloway</option> <option value="9">Dundee City</option> <option value="10" selected="selected">East Ayr...

What prevents a statically typed language from having something like Ruby's method_missing?

I don't have much experience with statically typed languages (currently learning Scala and loving it!) but one thing I've noticed is that they don't ever seem to have anything like Ruby's method_missing or ColdFusion's onMissingMethod. Is there some inherent limitation in statically typed languages that prevent or make this difficult? ...

Retweeting with ColdFusion and Twitter4j

I'm trying to update the status of a user and then immediately retweet it. I can't figure out how to get the ID of the status I just submitted though. Any help would be greatly appreciated. ...

ColdFusion Databse settings

I have recently agreed to do some minimal editing to a ColdFusion site and was hoping to get some help on here as to where a place to look for db settings may be. I have not been able to locate the database config file or something similar. A point in the right direction as to best practice for ColdFusion would be really helpful or an ...

webservice over HTTPS with self-signed cert in ColdFusion?

How to enable webservice call over HTTPS with self-signed cert in ColdFusion 9? According to the doc, <cfhttp> should work, but how about <cfinvoke>? If I use cfhttp, do I still need to install the cert as outlined here? http://kb2.adobe.com/cps/400/kb400977.html I tried simply using https in cfinvoke, I got SSLPeerUnverifiedException...

the best OO framework in Coldfusion9

Hi I am new to OO frameworks in general such as MVC, Coldspring,etc but I have read about their benefits - could someone point tell me which one is the best - may be with standard to other programming language. Many thanks ...

Needing suggestions for modular Coldfusion app development

I'm starting a a new application, and want to concentrate on making it modular. What I mean by that is that is that in my head I envisage some basic facilities log on, user roles, layouts etc but then I am looking to be able to be able to add self contained "chunks" of functionality e.g. document repository and upload, diary and reminder...

signature_invalid oauth delicious.com API coldfusion

im getting signature_invalid error when trying to connect via oauth to delicious.com. <cfset oUrl = "https://api.login.yahoo.com/oauth/v2/get_request_token"/&gt; <cfset oauth_nonce = "?oauth_nonce="&randrange(45678,99999)/> <cfset oauth_timestamp = "&oauth_timestamp=122253373"/> <cfset oauth_consumer_key = "&oauth_consumer_key="&URLEnc...

WS security Coldfusion

Working on a docuSign integration with Coldfusion and need assistance in making the SOAP request using WS security. ...

CFLDAP:- populate FULL data from Active directory, rather than a single userid or username.

I have a form field “Names” that gets populated from an Active Directory. I am using CFLDP to connect to the Active Directory. <cfldap action="QUERY" name="results" attributes="cn,sn,dn,department,mail,userid,etc." start="dc=##,dc=##,dc=##" filter="##=##" server="00.00.0004" username="me" password="meP...

Recursive Function in Coldfusion

I'm trying to create a recursive function in coldfusion and am coming across some issues. Here is the logic I have: <cffunction name="getEvents" access="private"> <cfargument name="strtdate"> <cfargument name="parentID" default=0> <cfqeury name="qry" datasource="db"> select * from table where parentid = #parentid# a...