Re: Can you use a CFTHREAD inside an Ajax routine?

2015-03-16 Thread John Pullam
The original answer that this does work was enough to get me headed in the right direction. I eventually found a bug in my code; the CFTHREAD was starting up the task correctly. ~| Order the Adobe Coldfusion Anthology now!

Can you use a CFTHREAD inside an Ajax routine?

2015-03-05 Thread John Pullam
It seems to me that the CFTHREAD I attempt to start from inside an Ajax routine (triggered by a CFWINDOW) never runs and doesn't generate any error message. Can anyone advise if this is a legitimate thing to do? ~| Order the

Re: Cannot access session variables in a cfc

2015-01-29 Thread John Pullam
For what it's worth, the approach of storing a global data item in the application scope seems to be legit according to the documentation. Here's what it said in the CF10 doc: Application variables are a convenient place to store information that all pages of your application might need, no

Re: Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
You will need to pass your session variables as a parameter in order to use them in the CFC, this is best practices anyways. The difficulty is that there a lot of cfc calls and some of them are in bind expressions so the chance of making errors is high. That's why I am so anxious to find one

Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
My app is running in a CF10 system and since I moved my cfc's out of the document root, they are losing access to the session variables. It seems that they work for around a day and then can no longer be found. I initialize them in my application.cfm to a value and I can still cfdump them in a

Re: Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
If you moved your cfc's above the application.cfc (or application.cfm) file, the session variables will not be accessible. Session and application vars are accessible from the application file down. That's what we did. What other method than session variables can I use to pass a common

Re: Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
Thanx. That's what I think I will do for the time being. It is hard for me to come up with all the symptoms that we started seeing on the cfc's now and I don't think I could do justice to any explanation of those issues. It seemed to me that it was all quite normal stuff. All pages and cfc's

Re: Cannot access session variables in a cfc

2015-01-28 Thread John Pullam
I know this isn't ideal, but it is a live application and the decision to move the cfc's outside of the doc root was taken because CF was having trouble finding them (for no obvious reason). Code that has worked since CF7 started breaking. So we moved them and this problem began. I am

Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-20 Thread John Pullam
For anyone who stumbles across this post, I thought I should add the closure as I now understand it. First of all, the duplicate CFID and CFTOKEN was not the problem I thought it was. It confused matters, but it seems that most browsers can tolerate it, even though it makes no sense to me. I

Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-02 Thread John Pullam
Some more info: - I have not issued a setclientcookies=yes so assuming that is the default it should be there. - the redirect is via an htaccess file which says RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] - I think the redirect

Re: CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-10-01 Thread John Pullam
I did what you suggested and thought that the problem had gone away. I was successful in getting any traffic to move to the www prefixed name but that didn't solve the cookie problem. I am having trouble creating the failure but I am still seeing duplicate cookies with the same CFID and

CF10 creating extra CFID/CFTOKEN cookies at the domain level

2014-09-11 Thread John Pullam
I am having a problem that from time to time CF10 creates a new pair of cookies at the domain level, specifically whitevalegolfcub.com The application runs under www.whitevalegolfclub.com and the CFID and CFTOKEN cookies are created there, along with several of my own, at logon. But this

Re: Unable to add text to HTML HEAD tag

2014-05-09 Thread John Pullam
I appreciate the feedback received on this and some of the ensuing discussion. On the technical side, it was a cfajaximport tag on which it failed. But as I mentioned earlier, it still failed when that tag was removed. Thanx to one suggestion I got it to work by moving the entire cfwindow up

Unable to add text to HTML HEAD tag

2014-05-07 Thread John Pullam
I'm doing some testing on my new CF10 desktop system and have run into an odd one that I can't figure out. This program has been running OK for several years but when I ran it in CF10 it generated the error message Unable to add text to HTML HEAD tag. It did this at the end of the page after

Re: Unable to add text to HTML HEAD tag

2014-05-07 Thread John Pullam
So you suggest going back and rewriting a 50,000 line application in order to resolve the problem? Not a very practical solution, I'm afraid. Does anyone have a more realistic suggestion? ~| Order the Adobe Coldfusion

Re: Unable to add text to HTML HEAD tag

2014-05-07 Thread John Pullam
I don't dispute that rewriting it might be the best long term solution. And perhaps doing it in pieces is smart too (although I'd hate to be the person who had to maintain the application when it is in the middle.) But I wasn't asking for advice on CF programming strategy, rather I was looking

Re: ColdFusion 10 does not allow Access datasource

2014-04-29 Thread John Pullam
At the moment I have the Access datasources working. Here is what solved it for me: The underlying issue was that message that said The ColdFusion ODBC Server service is not running or has not been installed. I observed the behaviour of the ODBC server and realized that it was running fine

Re: ColdFusion 10 does not allow Access datasource

2014-04-29 Thread John Pullam
Have you rebooted again just to make sure that it doesn't happen again, I only mention this because that was what you said caused it. Just looking at making sure this is a 100% fix. Yes, I have rebooted once so far. And tomorrow I'll probably get my courage up to apply those updates that were

ColdFusion 10 does not allow Access datasource

2014-04-28 Thread John Pullam
I have a newly installed CF10 system working on my desktop (developer) machine, including several working SQL Server datasources. But when I try to get the Access ones to work I keep running into issues. I installed the 32 bit version of ColdFusion in order to bypass the issues with 64 bit

Re: ColdFusion 10 does not allow Access datasource

2014-04-28 Thread John Pullam
The only option is to use the workarounds to get a 32bit ODBC DSN setup. This also means you will have hosting problems, as Windows is 64bit only since Server 2008, so you wont be able to setup a CF DSN unless the host is willing to also do this workaround for you or unless they are still running

Re: ColdFusion 10 does not allow Access datasource

2014-04-28 Thread John Pullam
Are you able to manually create a 32-bit ODBC connection to your Access database? If you weren't aware already, you need to run the 32-bit Windows ODBC data sources applet from inside \Windows\SysWOW64 to access the 32-bit stuff. If you can do that successfully, then try connecting to that

Re: ColdFusion 10 does not allow Access datasource

2014-04-28 Thread John Pullam
Is the service running? I went into Services and the ODBC service is defined and it set up as automatic. When I started it, it said it started and then stopped. It indicated that some services only start when they are needed. I then made it manual and started it again and received the same

Re: ColdFusion 10 does not allow Access datasource

2014-04-28 Thread John Pullam
This is going to sound a bit basic, but did you actually install the ODBC drivers when you installed ColdFusion? I have no problem with suggesting basic stuff ... I make errors like everyone else. But the fact that the ColdFusion 10 ODBC Server is in Services should suggest that it is actually

Re: ColdFusion 10 does not allow Access datasource

2014-04-28 Thread John Pullam
As with anything it is a process of elimination, what about the other suggestion it says. I don't recall if you tried that or not. The other suggestion was the Microsoft Access driver with Unicode. There is no such driver being offered in the driver list (there was in CF9 but it is no longer

Re: ColdFusion 10 install fails with code 0x800700c1

2014-04-25 Thread John Pullam
I started the CF10 Web Server Configuration Tool and it showed one connector which seemed to be for IIS and all websites. As suggested, I deleted it. Then I added a connector, specifying localhost, IIS and all websites. The resulting connector looked very much like the one that was there

Re: ColdFusion 10 install fails with code 0x800700c1

2014-04-25 Thread John Pullam
I'm happy to update the IIS config but I couldn't find the parameter to change. I googled for IIS and connector but that didn't help. I looked into the handler mappings and .cfm shows as being mapped to C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll which I think is right. BTW, this is

Re: ColdFusion 10 install fails with code 0x800700c1

2014-04-25 Thread John Pullam
For what it's worth (and for anyone in the future who reads this), I concluded that those IIS config files were fairly large and beyond my capability to understand/edit them. So I decided to uninstall CF10 64 bit and try the 32 bit version, seeing as that shouldn't have any impact on my

ColdFusion 10 configuration wizard doesn't start

2014-04-24 Thread John Pullam
I have just installed CF10 on my development machine. I have been happily running CF9 for several years and decided it was time to move on. The actual install seemed to go smoothly but at the end when it tells you it is going to the configuration wizard nothing happens. It simply serves up a

Re: ColdFusion 10 configuration wizard doesn't start

2014-04-24 Thread John Pullam
I'm not trying to run CF9 at all. I never ran across an option to set the port for CF10. Did I miss something? ~| Order the Adobe Coldfusion Anthology now!

Re: ColdFusion 10 configuration wizard doesn't start

2014-04-24 Thread John Pullam
CF9 refuses to stop. Even after a reboot and the first thing I did was go into services and clicked on stop. I noticed that each version has a tool in the program folder called web server configuration tool and when I ran it for each version (thinking I might use it to alter what port it was

Re: ColdFusion 10 configuration wizard doesn't start

2014-04-24 Thread John Pullam
I appreciate the help. I am primarily a CF application guy but I usually have enough Windows skills to keep things working OK on my development desktop machine. (I've done CF6 onwards and kept it going on my desktop.) I am unclear on connectors and don't believe that I saw or answered any

ColdFusion 10 install fails with code 0x800700c1

2014-04-24 Thread John Pullam
Sorry to post a second install problem ... I'm feeling like a real dummy today. I just cleaned out my CF9 development install that had run well for several years and did a clean CF10 install. I'm running windows 64 bit and did a 64 bit CF install. It looked good and asked all the expected

Re: ColdFusion 10 install fails with code 0x800700c1

2014-04-24 Thread John Pullam
Yes, I was able to get CF to issue an error message after enabling that server and inserting the port in the URL. So I guess that means it is an IIS issue. Can you suggest a next step... ~| Order the Adobe Coldfusion

Re: ColdFusion 10 install fails with code 0x800700c1

2014-04-24 Thread John Pullam
No I didn't. How do I uninstall a connector? (Given that I don't really understand what a connector is.) I read a post of yours elsewhere also suggesting using the bultin web server. My rationale for staying with IIS is that I want to test on a system very similar to what it will be deployed

Re: ColdFusion 10 install fails with code 0x800700c1

2014-04-24 Thread John Pullam
Dave, you indicated that I should have uninstalled the CF9 connectors before starting the install. Given that I didn't and that I no longer have a CF9 system, how would I go about removing them? Do I now need to re-install CF9, remove the connector and then uninstall it? I hope not. I can't

Re: Need to wait on Bind to complete before submitting a CFFORM

2013-01-21 Thread John Pullam
I played around with several alternatives and eventually concluded that the cleanest solution was to use a single hidden variable with JavaScript validation which went to a small JavaScript function. The function calls a cfc which does the database look-up and returns true or false. This

Need to wait on Bind to complete before submitting a CFFORM

2013-01-20 Thread John Pullam
I have a situation where a CFDIV bind expression needs to complete before the cfform click takes effect. My assumption was that the Bind could set a hidden variable that would trigger a CFINPUT error routine when the cfform's button was pressed. But it turns out that the variable doe not

Re: Need to wait on Bind to complete before submitting a CFFORM

2013-01-20 Thread John Pullam
Have the form call a custom function onsubmit and check the values in your form fields before it allows form submission. I'm probably missing something here but I need to lookup data in a database after the email address and password are provided. I was using a cfc behind the scenes to do that

Re: Need to wait on Bind to complete before submitting a CFFORM

2013-01-20 Thread John Pullam
Why don't you use a javascript submit interception, then the Javascript could check the results returned in the div and allow the submit or not? I think that solution has the same problem. Because the bind is asynchronous, it doesn't necessarily finish execution when you are in the submit

How do I code French accents in a CFMail (HTML format) ?

2012-10-30 Thread John Pullam
I have a bilingual website and on the French side I need to send out a standard email that includes some accented characters. I have tried several techniques, including using the HTML notation (e.g., eacute;) and just letting the characters be imbedded in the body, but it doesn't look right

Re: How do I code French accents in a CFMail (HTML format) ?

2012-10-30 Thread John Pullam
I discovered that I had not properly coded the type=HTML on the cfmail. When I corrected that and used the b; notation it seems to work. Thanks for the tip but it turned out that I didn't need it. ~| Order the Adobe

Struggling to code accents into a cfinput regex pattern

2012-10-01 Thread John Pullam
I am still trying to code a regex pattern for my cfinput that accepts the usual accented characters you find in languages such as French. I need something that allows people to enter their names when they contain accented characters. I realize that names can be even broader than this but I am

Re: Struggling to code accents into a cfinput regex pattern

2012-10-01 Thread John Pullam
I think I just answered my own question from another post I read. I am now using this pattern=^[a-zA-Z\u00E0-\u00FC'\-\ ]{1,50}$ and it seems to do the job. ~| Order the Adobe Coldfusion Anthology now!

Re: How do you allow accented characters in a cfinput regex?

2012-09-18 Thread John Pullam
OK, I think I tried what you suggested--here is exactly what I did: Added this to the page: cfprocessingdirective pageencoding=utf-8 Made the cfinput: cfinput type=text name=FName required=yes size=30 validate=regex pattern=[:alpha:] message=Please enter a valid First Name This now

Re: How do you allow accented characters in a cfinput regex?

2012-09-17 Thread John Pullam
Did you try setlocale on the string as per previous example? Sorry but I'm not clear on how I would use that, so please help me understand. For background information, this is a form field coming in to a CFFORM that I am checking with CFINPUT regex validation. I don't want to force someone

Re: How do you allow accented characters in a cfinput regex?

2012-09-17 Thread John Pullam
did swapping [:alpha:] for \w in the regex expression work or not? if not, what version of cf? No, it started rejecting all names when I did that. I am running CF9. ~| Order the Adobe Coldfusion Anthology now!

How do you allow accented characters in a cfinput regex?

2012-09-16 Thread John Pullam
I've read a whole bunch and tried many things but I can't seem to get my regex pattern to allow accented characters, which will occur in people's names. My cfinput currently looks like this: cfinput type=text name=FName required=yes size=30 validate=regex pattern=^[\w'\-\ ]{2,50}$

Re: How do you allow accented characters in a cfinput regex?

2012-09-16 Thread John Pullam
Regards Russ Michaels On Sep 16, 2012 3:45 PM, John Pullam jpul...@mcleansystems.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive

Re: How do you allow accented characters in a cfinput regex?

2012-09-16 Thread John Pullam
Most if the stuff in that post refer to more general regex processing, not the ColdFusion implementation. When I tried his syntax, CF failed with errors because it doesn't appear to be recognized. ~| Order the Adobe

Re: How do you allow accented characters in a cfinput regex?

2012-09-16 Thread John Pullam
When I use this pattern=^[[:alpha:]'\-\ ]{2,50}$ nothing validates. Is that what you meant? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion

Disable submit button after CFFORM validation?

2011-11-07 Thread John Pullam
I can disable a submit button using javascript (onclick=this.disabled=true;return true) but this occurs before the ColdFusion input field validation. The problem is that if the form does not pass validation, you cannot resubmit it after the errors are corrected because the submit button is

Re: Disable submit button after CFFORM validation?

2011-11-07 Thread John Pullam
Looks like using CFINPUT with validate=submitonce solves the problem. I didn't know that existed! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion

onclick to open cfwindow fails in IE8

2011-09-17 Thread John Pullam
I have a strange bug where this code works on IE9, FF, Opera, etc. but fails on IE8. It appears to be trying to execute the href and ignores the function that creates and opens the window. I realize that this may be a JavaScript issue in IE8 but due toe the CF involved I doubt that it will be

Re: onclick to open cfwindow fails in IE8

2011-09-17 Thread John Pullam
I tried changing the function to this: function makeWin(x,y,z,num,title) { ColdFusion.Window.create('ImageWindow'+num,title,'Image.cfm?ID='+z,{x:150,y:y+80,height:640,width:840}); return false; } unfortunately it still fails to execute.

Re: onclick to open cfwindow fails in IE8

2011-09-17 Thread John Pullam
I've done some further isolation and deleted a lot of extraneous code. By adding a hello world alert I found it it is actually executing the function. I ran the debugger on IE8 and it gave me an invalid argument from ext-all.js, line 7 character 54203. This seems to me to suggest an IE8 bug

Re: CF9 generates Error Code 430 in event log

2011-03-21 Thread John Pullam
Actually, I'm not really looking for advice on what to do on a Win 7 freeze, I'm trying to determine why CF9 is generating these errors messages in the windows log when I reboot. ColdFusion 9 ODBC Agent@LOCALHOST,ErrorCode=430,ErrorMessage=Failed to open event trace file because the file

CF9 generates Error Code 430 in event log

2011-03-19 Thread John Pullam
I'm struggling with a problem in my Win7 system that just started today. It freezes on me and requires a reboot so I'm trying to get to the bottom of what might be causing it. When I open the windows event log, the first error message after a boot is this: The description for Event ID 0 from

IE8 Form Submit button not being passed

2011-02-23 Thread John Pullam
I am testing my application on an IE8 system running Win 7 and CF 9. I do not know if any of these are relevant but the problem does not occur on Firefox or Chrome. Essentially, IE is not passing the FORM.Submit to my post-back form processor. It passes everything else, including Submit.X and

Image button in a cfwindow doesn't pass coordinates

2010-10-05 Thread John Pullam
Normally when you click on an image button inside a CFFORM, the coordinates are passed to the form processor. This is a simple way to support multiple buttons from a single form because you can use the presence of a coordinate to tell you which button was pressed. I couldn't figure out why

Re: Trying to set cfform focus in an Ajax window

2010-10-01 Thread John Pullam
Great, thanx for the explanation. I use firebug for CSS and errors but hadn't understood how the other tabs worked. When I click on the call and then open the response tab, here is what it shows (I can deduce what parts of it are there for but this is a bit beyond what I have done before):

Re: Trying to set cfform focus in an Ajax window

2010-10-01 Thread John Pullam
That's not the code I wrote ... I set focus in the source. So does this look like another CF9 bug, that it doesn't call my function? My source code is above in this thread so I won't repeat it. ~| Order the Adobe Coldfusion

Re: Trying to set cfform focus in an Ajax window

2010-10-01 Thread John Pullam
I too am trying not to get frustrated. I appreciate that you are trying to help and I suspect we are caught in semantics based on different technology experiences. In any event, I have learned more about what Firebug can do and the statement that should trigger the focus is in the code being

Re: Trying to set cfform focus in an Ajax window

2010-09-30 Thread John Pullam
You may have to lead me into what exactly you'd like to see, but here is what I have coded and I'll be happy to view source and get you something else ... There are any number of pages that could force a login, and the do it from this sequence: a

Re: Trying to set cfform focus in an Ajax window

2010-09-30 Thread John Pullam
Here is the view source from when the window has opened ... !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN http://www.w3.org/TR/html4/strict.dtd; html headscript type=text/javascript/* ![CDATA[ */_cf_loadingtexthtml=img alt=' ' src='/CFIDE/scripts/ajax/resources/cf/images/loading.gif'/;

Re: Trying to set cfform focus in an Ajax window

2010-09-30 Thread John Pullam
Well I certainly understand that CF has to compile it before it runs it, but I have never concerned myself with that step. How would I see the compiled source? (Sorry to be so simple but it has never been an issue for me before.)

Re: Trying to set cfform focus in an Ajax window

2010-09-30 Thread John Pullam
Sorry but I certainly didn't understand what was involved to do that (hope my posts made that clear, but maybe not) and I don't have sufficient firebug skills to do what is suggested. Thanx for trying, but let's leave this problem as it lies. I'm obviously over my head and getting a cursor in

Re: SOT: Canadian CF Hosting

2010-09-29 Thread John Pullam
I use LooseFoot in Regina ... lfchosting.com, and am very pleased with their service. They have both CF7 and CF9 hosts right now. ~| Order the Adobe Coldfusion Anthology now!

Re: Trying to set cfform focus in an Ajax window

2010-09-29 Thread John Pullam
completes. 2. Add your focus setting code into a callback function on the ajax call. That advice is still sound. On Mon, Sep 27, 2010 at 4:56 PM, John Pullam jpul...@mcleansystems.comwrote: Must admit that I'm not really sure what you are suggesting. e.g., what do you mean a callback function

Re: Trying to set cfform focus in an Ajax window

2010-09-27 Thread John Pullam
I don't understand what you are trying to tell me. I don't currently use jquery so I can't really follow if you are doing something different. My case seems simple. I have inserted an alert (which fires) in the script so I am confident that the JavaScript code is being executed, but it simply

Re: Trying to set cfform focus in an Ajax window

2010-09-27 Thread John Pullam
No problem posting my code and providing a URL of it in action. The following is one of the many that I've tried which I believe to be syntactically correct. I left the JavaScript alert in so that you can see that it fires. First one of the calling pages: cfinclude

Re: Trying to set cfform focus in an Ajax window

2010-09-27 Thread John Pullam
Yes. That's what occurs when it tries to execute the line document.LoginForm.AccessID.focus(); That's what I'm trying to solve. ~| Order the Adobe Coldfusion Anthology now!

Re: Trying to set cfform focus in an Ajax window

2010-09-27 Thread John Pullam
alert(document.LoginForm); gives the message undefined. I assume that means that at the time the JavaScript is executing there is no such object in the DOM. Could the JavaScript be executing at the wrong time? I'm wondering about using some sort of onAjaxLoad thing (but I have no experience

Re: Trying to set cfform focus in an Ajax window

2010-09-25 Thread John Pullam
Well, it still doesn't work. I've been doing CF for several years myself and this one doesn't make a lot of sense. I have tried the various combos you are alluding to and the code now is: cfform name=LoginForm table id=LoginBox tr height=21 td width=100bAccess

Trying to set cfform focus in an Ajax window

2010-09-24 Thread John Pullam
I have a cfform inside an Ajax window and I am trying get the cursor to appear in the first input field when the window opens. I've tried the usual javascript solution but nothing seems to work for me. Any ideas? Extracted code from the module follows: div id=LoginDiv cfif LoginMsg

Re: Connecting to CFC's in the same directory in CF9.

2010-07-29 Thread John Pullam
For the benefit of anyone who encounters this posting while scanning the list, I was just informed that Adobe have verified the behaviour I reported and are targeting a hotfix for it. Nice to know that I wasn't misunderstanding something.

Re: Access Data Source Problem with ColdFusion 9 on 64 bit Windows 7

2010-07-20 Thread John Pullam
I am successfully using the HXTT driver on a 64 bit platform for that purpose. The only glitch I have run into is that the queries were all case sensitive. They do have a parameter you can set to turn that off. ~| Order the

Re: Connecting to CFC's in the same directory in CF9.

2010-07-19 Thread John Pullam
I have only one special mapping for a directory that has some externally provided cfc's called /cfc but to reference those ones, the code prefaces the calls with cfc. In the case I am describing above, I'm just doing the simple thing of looking for a cfc in the same directory as the

Re: Connecting to CFC's in the same directory in CF9.

2010-07-18 Thread John Pullam
I think that I have isolated it pretty well now ... It can find the CFC if both the invoking web page and the CFC are in the document root (c:\inetpub\wwwroot\) and it can find it if I create a subdirectory from there, e.g., c:\inetpub\wwwroot\real\ and move them both to it. But if I create

Re: Connecting to CFC's in the same directory in CF9.

2010-07-18 Thread John Pullam
That surprises me. Virtual directories work fine in CF8 and I have been using them like that on my development desktop for several years without a problem. Can you please provide me more information about your statement? Specifically: - what is the limitation? - is it an IIS issue or CF? - did

Connecting to CFC's in the same directory in CF9.

2010-07-16 Thread John Pullam
This is a variation of a question I posted a few days ago that didn't get resolved, so please bear with me. It seems simple but I am not getting anywhere with it. I have a test page (TestCFC.cfm) that binds to a CFC (TestCFC2.cfm) that is in the same directory. This used to work on CF8 but it

Re: Connecting to CFC's in the same directory in CF9.

2010-07-16 Thread John Pullam
OK, several replies ... 1 - Yes, I made that stupid error. After I renamed it to CFC, it worked correctly on the live CF9 system. 2 - Even with that fixed, it fails on my desktop (that was the original problem and I was trying to narrow it down). So when I have the calling page on localhost

Re: Coldfusion 8 vs 9 - cfc mapping differences?

2010-07-12 Thread John Pullam
John, I am not sure what your problem is here, when doing any work like this ColdFusion will try to look into the root of the website. Unless you specify a mapping or have set something up in IIS or apache. The code that you have shown to us will be trying to execute a cfc in the root of the

Re: Coldfusion 8 vs 9 - cfc mapping differences?

2010-07-12 Thread John Pullam
The ColdFusion 9 Developer's Guide says on page 650 under Using Bind Expressions: cfc:componentPath.functionName(parameters) Note: The component path cannot use a mapping. The componentPath value must be a dot-delimited path from the web root or the directory that contains the current

Re: Coldfusion 8 vs 9 - cfc mapping differences?

2010-07-12 Thread John Pullam
Sorry, correction: It should read cfc:BSelects.getSessions() and BSelects is the component with getSessions the method. ~| Order the Adobe Coldfusion Anthology now!

Re: Coldfusion 8 vs 9 - cfc mapping differences?

2010-07-11 Thread John Pullam
Yeah, but . Why did it work fine in CF8? (I'm not talking about the second example which was added, but my original posting.) ~| Order the Adobe Coldfusion Anthology now!

Coldfusion 8 vs 9 - cfc mapping differences?

2010-07-10 Thread John Pullam
I'm struggling a bit with running some previously operational applications under CF9. It seems that most of my challenge comes from cfc invocation. I've been browsing around trying to understand what has changed but haven't come up with anything much. I have my cfc's in the same folder as my

Re: How can you GetFileInfo for a datasource?

2010-06-24 Thread John Pullam
You are correct. I made an assumption that was incorrect and now realize that it was the same issue in .Net. For what its worth, I have decided to base the file location on the relative location from my website root. That is not likely to change while the ISP could always reqyuire me to move

Re: How can you GetFileInfo for a datasource?

2010-06-24 Thread John Pullam
You are correct. I made an assumption that was incorrect and now realize that it was the same issue in .Net. For what it's worth, I have decided to base the file location on the relative location from my website root. That is not likely to change, but the ISP could always require me to move

How can you GetFileInfo for a datasource?

2010-06-23 Thread John Pullam
I have a datasource that points to an Access database (no editorializing please, I didn't create it). I need to do a GetFileInfo on it to obtain the last modified date. This was pretty easy in .Net (I'm converting it from .Net to CF) but I can't figure out how to do it in CF. GetFileInfo

Re: How can you GetFileInfo for a datasource?

2010-06-23 Thread John Pullam
I do know the absolute path but the whole idea was to make it work correctly even if something might change. I was looking for a more elegant solution! ~| Order the Adobe Coldfusion Anthology now!

Re: How can you GetFileInfo for a datasource?

2010-06-23 Thread John Pullam
This info is not made readily available unless you unlock it. You need access to the database... Open the database Go to tools--Options Check the box under *show* that says *system Objects*. You will notice that several new tables appear in table view with the prefix MSys - MSysAccessObjects,

Re: How to show a work-in-progress icon while waiting for a web service

2010-05-13 Thread John Pullam
Good feedback. I am using the ColdFusion error checking of cfinput and cfselect to validate the input in the form before processing. If I simply JavaScript the button to either pop an image or inhibit the button, would it trigger that even though the validation failed? I'd not want to have

Re: How to show a work-in-progress icon while waiting for a web service

2010-05-13 Thread John Pullam
Good feedback. I am using the ColdFusion error checking of cfinput and cfselect to validate the input in the form before processing. If I simply JavaScript the button to either pop an image or inhibit the button, would it trigger that even though the validation failed? I'd not want to have

Re: How to show a work-in-progress icon while waiting for a web service

2010-05-13 Thread John Pullam
Good feedback. I am using the ColdFusion error checking of cfinput and cfselect to validate the input in the form before processing. If I simply JavaScript the button to either pop an image or inhibit the button, would it trigger that even though the validation failed? I'd not want to have

How to show a work-in-progress icon while waiting for a web service

2010-05-12 Thread John Pullam
I have an app which calls a web service on a different computer to do work on its behalf and sometimes my users are impatient and hit the invocation button a second time, which causes problems. I'd like to pop some kind of work-in-progress or busy icon on the web page while this service is

Re: Using two submit buttons to control form action

2010-04-29 Thread John Pullam
Thanx for all the feedback. I'm about 95% sure that I've done all this before and made it work. And the examples given have been tried too. There must be something different in my case. This simple use of 2 buttons on a page worked for me. But when I put it back into the live case it fails, so

Re: Using two submit buttons to control form action

2010-04-29 Thread John Pullam
When I change the cfform to form, it works properly, but that will stop my cfinput and cfselect tags from working. Is it possible that there is something about the use of cfform that is causing this? ~| Want to reach the

Re: Using two submit buttons to control form action

2010-04-29 Thread John Pullam
Then what I am reading is that ColdFusion simply doesn't do a correct job of processing cfform submit buttons when used in a cfwindow. As much as I would like to get it to run correctly I have opted for making this 2 separate small forms and then testing the existence of a button that is

Using two submit buttons to control form action

2010-04-28 Thread John Pullam
I have seen several examples of using multiple form buttons on a single form. The idea is that you can get the value of the respective form variable when you are posted and then take the appropriate action. But I'm getting odd results. Instead of getting a single value, I get both values

Re: What happens to session variables after redirecting to https?

2010-04-01 Thread John Pullam
Good feedback. Glad to see I'm not the only one who has had some struggles here. I'm not the CF admin for the production sites I use, so I'm a bit unsure of exactly what is configured. But on my test site, when I look at my session variables, sessionid is always correctly set, whether http or

  1   2   >