Re: coldfusion REST service, 404 not found
jpmyob wrote: ... Are you trying to say that is HAS to be under the CF default webroot???No. I was just suggesting the simplest way to get REST working. Incidentally, by 'webroot' I mean webroot, not...
View Articlegetting error message - onError undefined - even though onError is handling...
I'm setting up a new app in CF 10, and have set up my application.cfc. I created a test page that calls onError() manually, as a test. Like the title says, I get a message saying "onError is not...
View ArticleRe: getting error message - onError undefined - even though onError is...
I don't think you can call onError() directly, as it only exists at the application level (just like you can't call onRequest() or other methods outside of Application.cfc). Also, onError() only traps...
View Articledata source lockout issue
hello, i am using ColdFusion MX 7,0,2,142559. the issue is that i have several data sources, however one of them locks out every now and then. Not sure what is causing only this data source to lock...
View Articleread csv
Hi all, I have the csv file with the format below.It has about 15 fields. I want to read this CSV file and inserts the records into my table but got an error below. 43;Test;;TEST PASS;Time...
View ArticleRe: getting error message - onError undefined - even though onError is...
Just a remark next to what Carl has said. The methods of Application.cfc start with the prefix 'on', meaning, 'upon'. That is to say, the methods are event handlers. For example, onError runs upon an...
View ArticleJSafe JCE 6 and WebSphere 7
Hello, We are having a problem with the security provider JSafe JCE running on WebSphere 7. The administrator of Coldfusion 10 does not run after setting the password. We had remove the security...
View ArticleRe: getting error message - onError undefined - even though onError is...
Thanks Carl and BK -- I see what's happening. However, I believe that an instance of Application.cfc is instantiated when the application starts, else how could the event handlers listen and fire when...
View ArticleRe: getting error message - onError undefined - even though onError is...
I take that back -- my onError() didn't fire because I called it, it fired because onError() wasn't defined.. And I tried running Ben's code from the link above, but I got a "method not defined" error....
View ArticleRe: getting error message - onError undefined - even though onError is...
Xophe99 wrote: I take that back -- my onError() didn't fire because I called it, it fired because onError() wasn't defined.. And I tried running Ben's code from the link above, but I got a "method not...
View ArticleRe: getting error message - onError undefined - even though onError is...
Xophe99 wrote: ... I believe that an instance of Application.cfc is instantiated when the application starts, else how could the event handlers listen and fire when they should? That is generally true....
View ArticleRe: read csv
43;Test;;TEST PASS;Time Completed;22.13202;21.55828;;119.95;3 - WATER SEAT P;315.0;120;5.0;16/07/2012;22:17:36; The 3rd and 8th list elements are blank. So the 3-parameter listGetAt function sees just...
View ArticleRe: data source lockout issue
What do you mean by locking out? Do queries time out? More importantly, do you get error messages? If so, which?
View Articlecfmail trigger by select list
I need to send an email when user change select list.I can use cfmail to send out email, I would like to know is it possible to trigger the mail when user click and change the select list or I have to...
View ArticleRe: 404 and 301 mapping with IIS
Hello Anit, Thank you for the reply. I did this in IIS 5.1 with WinXP and it worked. The same I tried in a win 2003 server with IIS 6 and it didn't.Seems so weird and I am trying to figure out why....
View ArticleI want to to pass the value users select from form.MySelect.I use <cfif IsDefined("form.MySelect")</cfif> it seems that ColdFusion server does not recognize it.It works if I use text control....
View ArticleRe:
Coldfusion does recognize it. Use the value of the name attribute of the select field. For example, <cfif isDefined("form.mySelect")>form.mySelect:...
View Articleauth_password blank when it shouldn't be
Why is the cgi variable auth_password coming up blank? This is on CF 10. I have debugging information turned on and can see all of the cgi variables and it correctly shows the username and...
View ArticleRe: cfmail trigger by select list
I would just submit the form to its own page. Yes, using the submit button. For example, <cfif isDefined("form.mySelect") and form.mySelect is 1><!--- Send mail ---><cfelse><!---...
View ArticleRe: cfmail trigger by select list
It is a multi-step process, but yes you can do this. Put an onChange() handler on the SELECT or CFSELECT statement. Have it call window.open() to open up in a new window/tab the CFM script that will...
View Article