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 Michael Grant
No where in that code do you set focus to AccessID. On Fri, Oct 1, 2010 at 7:52 AM, John Pullam jpul...@mcleansystems.comwrote: 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

Re: Drivers for Access databases under CF 9 SOLVED!

2010-10-01 Thread Claude Schnéegans
My guess is that you'd previously installed another version of CF (6, 7, 8) and that there's a conflict between whatever that left on your system Your guess was right. Not 6, 7 or 8 versions, but I installed first the trial version with the J2EE configuration. For some mysterious reason, when

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 Michael Grant
That IS the source. It's what the browser gets from ColdFusion. If you have code that exists in your cfm page that ISN'T being sent to your browser there MUST be a reason why. Is it possible you aren't actually outputting it to the browser? What happens if you wrap the js code I gave you before

Re: Trying to set cfform focus in an Ajax window

2010-10-01 Thread morgan l
Abbot and Costello. On Fri, Oct 1, 2010 at 9:10 AM, Michael Grant mgr...@modus.bz wrote: like this a Laurel and Hardy skit. Who's on first? Precisely! ~| Order the Adobe Coldfusion Anthology now!

Re: Trying to set cfform focus in an Ajax window

2010-10-01 Thread Michael Grant
Right! Thanks. On Fri, Oct 1, 2010 at 10:15 AM, morgan l greyk...@gmail.com wrote: Abbot and Costello. On Fri, Oct 1, 2010 at 9:10 AM, Michael Grant mgr...@modus.bz wrote: like this a Laurel and Hardy skit. Who's on first? Precisely!

Reading text files

2010-10-01 Thread Claude Schnéegans
Hi, One of the new things I find interesting in CF 9 (coming from CF 5) is the fileRead and the FileReadLine functions. I need to periodically (say once every hour) read a daily log file and get what was added to it since last time. Beside counting the number of lines and looping on that

Re: Canadian CF Hosting

2010-10-01 Thread Andrew Grosset
http://myhosting.com/ I haven't used them but their website is good and prices look interesting. ~| Order the Adobe Coldfusion Anthology now!

Re: Reading text files

2010-10-01 Thread Dave Watts
I need to periodically (say once every hour) read a daily log file and get what was added to it since last time. Beside counting the number of lines and looping on that count to read all lines again until I find the new ones, is there a more efficient way I can say read from here and give

Re: Reading text files

2010-10-01 Thread Claude Schnéegans
No, CF isn't that low-level. But you could do this in Java, then call your Java class from CF. I've found fileSeek () and FileSkipBytes (), that might do the trick. ~| Order the Adobe Coldfusion Anthology now!

Re: Reading text files

2010-10-01 Thread Dave Watts
 No, CF isn't that low-level. But you could do this in Java, then call your Java class from CF. I've found fileSeek () and FileSkipBytes (), that might do the trick. Well then, I was wrong. CF is that low-level in this case! Oh CF, is there anything you can't do? Dave Watts, CTO, Fig

Re: Reading text files

2010-10-01 Thread Tony Weeg
nope! :) Oh CF, is there anything you can't do? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:

Fake URLS

2010-10-01 Thread Donnie Carvajal
I am trying to make my e-Commerce item links for efficient. For example, I would like the link for an IPod Tocuh 32 GB to be http://www.domain.com/ipod_touch_32_gb instead of http://www.domain.com/store.cfm?i=123456s=789456p=654321. You get the point. I'm assuming that the url

RE: Fake URLS

2010-10-01 Thread Andy Matthews
What you're looking for is generally called SES or search engine safe/friendly URLs. The incoming SES URL has to have something that can be used to look up the real URL behind the scenes. So if you wanted to use ipod_touch_32_gb, then that would have to be the product name. You could also add

Re: Unable to load CFX C++ on CF 64 bit

2010-10-01 Thread Christopher Watson
Did you ever find a solution for this? I'm getting the same error on our 64 bit box. Yup, I contacted the developer of the tag, who ultimately did a 64 bit version: http://www.cftagstore.com/tags/cfxhttp5.cfm Yes, Andrei did create a 64-bit version of the DLL, but we're still not able to

Re: Reading text files

2010-10-01 Thread Ian Skinner
On 10/1/2010 8:32 AM, Dave Watts wrote: No, CF isn't that low-level. But you could do this in Java, then call your Java class from CF. I've found fileSeek () and FileSkipBytes (), that might do the trick. Well then, I was wrong. CF is that low-level in this case! Oh CF, is there

Re: Reading text files

2010-10-01 Thread Dave Watts
Is it not fun when one learns something new about something one has enjoyed using for so long! Yes, it is! And having been immersed recently in the verbose, nonfunctional cesspool of pure Java web development, I find myself missing CF a lot for those projects. Dave Watts, CTO, Fig Leaf

Re: Reading text files

2010-10-01 Thread Larry Lyons
nope! :) Oh CF, is there anything you can't do? what about make coffee, and bring my slippers and the morning paper. If it could do that CF would truly rock. ~| Order the Adobe Coldfusion Anthology now!

Re: Reading text files

2010-10-01 Thread Charlie Griefer
On Fri, Oct 1, 2010 at 10:14 AM, Larry Lyons larrycly...@gmail.com wrote: nope! :) Oh CF, is there anything you can't do? what about make coffee, and bring my slippers and the morning paper. If it could do that CF would truly rock. Have you checked Riaforge? -- Charlie Griefer

Re: Reading text files

2010-10-01 Thread Scott Stewart
cf_Fido On Fri, Oct 1, 2010 at 1:14 PM, Larry Lyons larrycly...@gmail.com wrote: nope! :) Oh CF, is there anything you can't do? what about make coffee, and bring my slippers and the morning paper. If it could do that CF would truly rock.

Re: Reading text files

2010-10-01 Thread Dave Watts
what about make coffee, and bring my slippers and the morning paper. If it could do that CF would truly rock. I don't know if CF can do that. Java can do that, but if you're not extremely careful, you'll end up drinking the outflow from the toilet, getting your feet cut off and having the

RE: Reading text files

2010-10-01 Thread Rick Sanders
Nice to see some people still have a sense of humor! Rick Sanders Webenergy www.webenergy.ca -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: Friday, October 01, 2010 2:34 PM To: cf-talk Subject: Re: Reading text files what about make coffee, and bring my

Re: Reading text files

2010-10-01 Thread Larry Lyons
Unfortunately nothing there. That said, I kind of figured out a way to do it. The lego NXT MindStorms robot can be using Java. So you'd just have to build a few classes to handle the tasks, then call them through CreateObject etc. But hey it can't be that difficult, given what these high

Re: Reading text files

2010-10-01 Thread Michael Grant
Oh CF, is there anything you can't do? Convince PHP devs that it's not a dead language? ~| Order the Adobe Coldfusion Anthology now!

Re: Reading text files

2010-10-01 Thread Dave Watts
Oh CF, is there anything you can't do? Convince PHP devs that it's not a dead language? Why bother? I might as well convince buggy whip manufacturers to invest in flying cars. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a

Restricting CFM file access

2010-10-01 Thread Asaf Peleg
Hi, I have a ColdFusion server running over IIS on a Win2k3 machine and I wanted to know how to restrict someone from running a CFM file unless it is executed locally or within my firewall. For instance, imagine someone executes http://mywebsite.com/test.cfm in their browser. Is there

RE: Restricting CFM file access

2010-10-01 Thread DURETTE, STEVEN J (ATTASIAIT)
Do it in code, cfif cgi.remote_addr neq 127.0.0.1cfabort/cfif Of course you may want to add a couple others then you could use listFind instead of a simple string compare. Steve -Original Message- From: Asaf Peleg [mailto:a...@locusenergy.com] Sent: Friday, October 01, 2010 2:14 PM

Re: Unable to load CFX C++ on CF 64 bit

2010-10-01 Thread Matthew Williams
If this is a COM object/call, it won't never ever work under CF9 64bit. Adobe documents this on their site, http://kb2.adobe.com/cps/403/kb403277.html#_Toc193176418. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog

RE: Restricting CFM file access

2010-10-01 Thread Sisk, Kris
I usually just use IIS to do something like that. Or, if I'm being really lazy and the restriction is going to be permanent I sometimes just put a cfabort in a cfif. cfif cgi.remote_addr NEQ 127.0.0.1 cfabort /cfif -Original Message- From: Asaf Peleg

Re: Restricting CFM file access

2010-10-01 Thread Dave Watts
I have a ColdFusion server running over IIS on a Win2k3 machine and I wanted to know how to restrict someone from running a CFM file unless it is executed locally or within my firewall. For instance, imagine someone executes http://mywebsite.com/test.cfm in their browser.  Is there anyway

Re: Restricting CFM file access

2010-10-01 Thread Russ Michaels
edit the site in IIS select files or folders to want to restrict. goto security tab set IP restrictions so only the IP's you want can acces the files or folders. -- Russ Michaels www.cfmldeveloper.com - Supporting the CF community since 1999 FREE ColdFusion/Railo hosting for developers. blog:

cfquery, cachedwithin and cfscript

2010-10-01 Thread rex
Does anyone know how to cache a query using cfquery but in cfscript? This works, query is cached for a day: cfquery name=otherQry datasource=stuff cachedwithin=1 SELECT GETDATE() /cfquery cfdump var=#otherQry# But this doesn't, it's always cached = false: cfscript

Need suggestion to achieve this functionality

2010-10-01 Thread fun and learning
Hi, I was looking at cfgrid and cftree functionality. Is it possible to incorporate cftree within cfgrid. if I can create a tree like structure in cfgrid. I am looking for something like below: The hyphens would be replaced by checkboxes... - Folders - subdfolder1 -

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: Need suggestion to achieve this functionality

2010-10-01 Thread Joel Watson
What is the purpose for putting the tree in the grid? Personally, I would suggest Sencha's (ExtJS) tree. There is a pretty robust OOTB tree with checkbox support. I've used it numerous times in the past, and it's super simple to integrate with CF. Here's the link:

Re: Trying to set cfform focus in an Ajax window

2010-10-01 Thread Michael Grant
Tell you what John. Why don't you zip up the files and send them to me? On Fri, Oct 1, 2010 at 4:39 PM, John Pullam jpul...@mcleansystems.comwrote: 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

Re: Need suggestion to achieve this functionality

2010-10-01 Thread Tony Bentley
I user JQuery treeview for the tree functionality. To recurse through the directory with a recursive custom tag in the 'tags' directory called recursive: cfparam name=attributes.currentDir default=#GetDirectoryFromPath(GetTemplatePath())# cfdirectory directory=#attributes.currentDir#

Re: Need suggestion to achieve this functionality

2010-10-01 Thread Tony Bentley
I user JQuery treeview for the tree functionality. To recurse through the directory with a recursive custom tag in the 'tags' directory cfif not compareNoCase(type,dir) and not name contains _thumbs cfelseif not name contains _thumbs and not name contains .db and name neq

Re: Restricting CFM file access

2010-10-01 Thread Asaf Peleg
Thanks Everyone, I appreciate the quick responses. Regards, Asaf ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive:

For CF8, can CFGrid html format do drag and drop of rows?

2010-10-01 Thread Richard Tang
I'd like to create a cfgrid format=html and be able to drag and drop. What I'm trying to do is sort the rows of the grid by drag and drop and be able to save the updated sorting. I've seen examples in flash format, but can't find examples in html format. The reason I don't want to use

Coldfusion and SmarterMail

2010-10-01 Thread Terry Troxel
Has anyone come across a way to use coldfusion to automatically add users to a SmarterMail Mailing List? Terry ~| Order the Adobe Coldfusion Anthology now!