Re: How to handle CF variables in JS (jQuery) external files...

2009-09-10 Thread Dave l
Now there you go again, Dave...disrupting... :o) Well you guys named me so I gotta live up to it now! Although I don't get many chances these days unless your name is don and then i'm all in! I just use cfinvoke when I need to That's ok but IMO calling objects opens up a cleaner style

Re: Move contents of a folder to a new location

2009-09-10 Thread Damo Drumm
Hi Rick Thats what the code is doing already, i want it to move the contents but leaving the actual folder behind, sorry i might not have explained this properly in the last comment On Wed, Sep 9, 2009 at 10:31 AM, Damo Drummdamien.dr...@quinn-group. com wrote: I’m trying to move the

RE: Move contents of a folder to a new location

2009-09-10 Thread Will Swain
Read the contents of the folder using cfdirectory, then loop over this (it's a query) and use cffile to move each individual file. Cheers Will -Original Message- From: Damo Drumm [mailto:damien.dr...@quinn-group.com] Sent: 10 September 2009 09:00 To: cf-talk Subject: Re: Move

Re: CacheBox 0.9 BETA relase

2009-09-10 Thread Dominic Watson
Brilliant - I'll be downloading that and plugging it in to my fusebox custom cache verb. Should be a snap :) One thing I have done in Fusebox is to create two custom verbs (I initially wrote caching into the core but figured a more pluggable way to do it): cache (works kinda like cfcache) and

RE: Quick question on cflock...

2009-09-10 Thread Che Vilnonis
Brad or Dave... I take it that I don't want to have one unique name, eh? Would it make more sense to do something like the code snippet below? A combination of a descriptive phrase and a unique identifier? Thanks, Che. cflock name=sessioncart-#session.sessionid# type=exclusive timeout=20

Re: Quick question on cflock...

2009-09-10 Thread Dave Watts
Brad or Dave... I take it that I don't want to have one unique name, eh? Would it make more sense to do something like the code snippet below? A combination of a descriptive phrase and a unique identifier? Thanks, Che. cflock name=sessioncart-#session.sessionid# type=exclusive timeout=20  

Re: cfform Flash and value

2009-09-10 Thread Cutter (ColdFusion)
Phillip, To prepopulate the form elements of the Flash Form, you'd have to use the 'value' attribute of your various form tags: cfinput type=text name=FirstName value=#REQUEST.myQuery.FirstName# / You cannot use JavaScript to populate or validate a Flash Form. You can use ActionScript to

Re: cfform Flash and value

2009-09-10 Thread Phillip Vector
On Thu, Sep 10, 2009 at 6:57 AM, Cutter (ColdFusion) cold.fus...@cutterscrossing.com wrote: To prepopulate the form elements of the Flash Form, you'd have to use the 'value' attribute of your various form tags: cfinput type=text name=FirstName value=#REQUEST.myQuery.FirstName# / Umm.. How is

Re: cfform Flash and value

2009-09-10 Thread Cutter (ColdFusion)
Hmmm. Yeah, I missed that part of your email. Sorry about that. If the query has a record, then I would think your use case would work. Did you dump it prior to the form? Is the form in a cfoutput statement? I'd like to help, but honestly I never use cfform in anything other than rapid

Re: (ot) International countries and states/provinces/administrative div. database

2009-09-10 Thread Jason Fisher
http://en.wikipedia.org/wiki/ISO_3166-1 ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: cfform Flash and value

2009-09-10 Thread Cutter (ColdFusion)
One other thing. Did you view source for the page? Are your values getting passed in to the call to create the Flash movie? Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book

Re: cfform Flash and value

2009-09-10 Thread Phillip Vector
On Thu, Sep 10, 2009 at 7:08 AM, Cutter (ColdFusion) cold.fus...@cutterscrossing.com wrote: Hmmm. Yeah, I missed that part of your email. Sorry about that. No worries. :) I appreciate the help. If the query has a record, then I would think your use case would work. That's what I would think

Re: cfform Flash and value

2009-09-10 Thread Phillip Vector
I'm not sure.. It just shows the flash player being loaded in the source. On Thu, Sep 10, 2009 at 7:10 AM, Cutter (ColdFusion) cold.fus...@cutterscrossing.com wrote: One other thing. Did you view source for the page? Are your values getting passed in to the call to create the Flash movie?

Re: CacheBox 0.9 BETA relase

2009-09-10 Thread s. isaac dealey
Brilliant - I'll be downloading that and plugging it in to my fusebox custom cache verb. Should be a snap :) One thing I have done in Fusebox is to create two custom verbs (I initially wrote caching into the core but figured a more pluggable way to do it): Thanks Dom. :) The comment

Re: cfform Flash and value

2009-09-10 Thread Cutter (ColdFusion)
If you don't see something like name/value pairs, for the fields and your values, in the source as flashvars in the object creation call, then I can't see how it would ever load your data. UPDATE: I just checked cfquickdocs, and discovered the following information regarding the 'value'

Re: cfform Flash and value

2009-09-10 Thread Phillip Vector
I've noticed that as well. The thing is, I've seen flash form do this. So how do they do it? On Thu, Sep 10, 2009 at 7:54 AM, Cutter (ColdFusion) cold.fus...@cutterscrossing.com wrote: UPDATE: I just checked cfquickdocs, and discovered the following information regarding the 'value'

Can somebody translate this to coldfusion?

2009-09-10 Thread Rick T
#define STX 0x02 #define ETX 0x03 short int calculate_lrc(char *packet) { char *lrc_ptr; short int lrc = 0; lrc_ptr = packet; if( ! (lrc_ptr = strchr (lrc_ptr, STX )) ) return (-1); ++lrc_ptr; do { lrc ^= *lrc_ptr++; } while

Setting Directory Permissions with CF

2009-09-10 Thread Brook Davies
Is it possible to set directory permissions with cold fusion on Windows Server? I want to programmatically add/remove permissions on a directory Brook ~| Want to reach the ColdFusion community with something they

Re: Setting Directory Permissions with CF

2009-09-10 Thread Rick Root
On Thu, Sep 10, 2009 at 1:58 PM, Brook Davies cft...@logiforms.com wrote: Is it possible to set directory permissions with cold fusion on Windows Server? I want to programmatically add/remove permissions on a directory If you can do it with .NET, then you should be able to do it with CF using

RE: Setting Directory Permissions with CF

2009-09-10 Thread Dawson, Michael
You can use CFEXECUTE to make permission changes using the command line, so to speak. Thanks, Mike -Original Message- From: Rick Root [mailto:rick.r...@webworksllc.com] Sent: Thursday, September 10, 2009 2:28 PM To: cf-talk Subject: Re: Setting Directory Permissions with CF On Thu,

Re: Setting Directory Permissions with CF

2009-09-10 Thread Dave Watts
Is it possible to set directory permissions with cold fusion on Windows Server? I want to programmatically add/remove permissions on a directory If CF is running as a user that has permission to manage the directory, you can use CFEXECUTE to run tools like cacls/xcacls/icacls. CF runs as

(ot) Transact-SQL Help

2009-09-10 Thread Rick Root
I'm hoping someone here can point me in the right direction. I'm doing something in CF that I really need to be doing in SQL: I need to flatten this data: select A.entityid, A.MEMBERID, A.RELTYPE, A.leaderFlag from

RE: Setting Directory Permissions with CF

2009-09-10 Thread Brook Davies
This worked great, thank you!!! -Original Message- From: Dave Watts [mailto:dwa...@figleaf.com] Sent: September-10-09 1:06 PM To: cf-talk Subject: Re: Setting Directory Permissions with CF Is it possible to set directory permissions with cold fusion on Windows Server? I want to

Re: (ot) Transact-SQL Help

2009-09-10 Thread Ben Conner
Hi Rick, This is where the limiting nature of SQL comes in--SQL is a set language and has no (or very limited) looping/reshaping capability. Unless MS has extended their SQL in ways I'm not aware of, this would be nearly impossible. That's where the power of CF comes in. --Ben Rick Root

Re: Can somebody translate this to coldfusion?

2009-09-10 Thread Roger Austin
Rick T rtuinenb...@gmail.com wrote: #define STX 0x02 #define ETX 0x03 it is a function of type integer called calculate_lrc. There is an input pointer to a string called packet. short int calculate_lrc(char *packet) { define variables char *lrc_ptr; short

Re: (ot) Transact-SQL Help

2009-09-10 Thread Dave Watts
This is where the limiting nature of SQL comes in--SQL is a set language and has no (or very limited) looping/reshaping capability.  Unless MS has extended their SQL in ways I'm not aware of, this would be nearly impossible.  That's where the power of CF comes in. That's not true. You can

RE: CFFILE UPLOAD

2009-09-10 Thread Jenny Gavin-Wear
The MP3 I am uploading is smaller than the WMVs that upload fine .. -Original Message- From: Maureen [mailto:mamamaur...@gmail.com] Sent: 06 September 2009 07:37 To: cf-talk Subject: Re: CFFILE UPLOAD Does it exceed max file size for uploads on the server? On Sat, Sep 5, 2009 at 9:50

RE: Automatically save email attachment

2009-09-10 Thread Jenny Gavin-Wear
Hi Jen, Which mail server softare are you using? For example, mdaemon works great for me, but for some reason with Smartermail the attachments just aren't seen. Jenny -Original Message- From: Jen Perkins McVicker [mailto:snarkmeis...@gmail.com] Sent: 25 August 2009 17:53 To: cf-talk

Re: (ot) Transact-SQL Help

2009-09-10 Thread Leigh
You might also take a look at ms sql 2005's row_number() function. You may be able to partition the data and use row_number() to limit the returned records. http://msdn.microsoft.com/en-us/library/ms186734.aspx

RE: (ot) Transact-SQL Help

2009-09-10 Thread brad
Original Message Subject: (ot) Transact-SQL Help From: Rick Root rick.r...@webworksllc.com Date: Thu, September 10, 2009 12:25 pm To: cf-talk cf-talk@houseoffusion.com I'm hoping someone here can point me in the right direction. I'm doing something in CF that I

Re: CacheBox 0.9 BETA relase

2009-09-10 Thread Matthew Gersting
Hey Dom - that lexicon looks pretty cool. As Isaac mentioned I've been working on a Fusebox-specific caching implementation called FuseCache. I actually just uploaded it to RIA Forge today. I'd love for you to check it out and see what you think!

RE: (ot) Transact-SQL Help

2009-09-10 Thread Leigh
As long as you are only dealing with a dozen or so records from the database it should perform fine and and I think it will be a heck of a lot simpler than trying to make your SQL server take a row-based list of  people and pivot them out into columns.  Assuming the example is actually