Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Matt Quackenbush
What exactly are you trying to accomplish? Or, perhaps I should ask, what is the problem that you are trying to alleviate by hiding methods? If we know the answer to those questions, we can steer you in the right direction. Right now, though, we don't really have much to go on. ~~

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Sean Corfield
On Tue, Oct 5, 2010 at 9:51 PM, Tony Bentley wrote: > True, they do but I saw the possibility that storing the cfc's method when I > really only wanted the members could lead to problems. Maybe not. If someone > here said that doing so was harmless, especially you or Ray I might chill out > an

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Tony Bentley
On Oct 5, 2010, at 8:10 PM, Sean Corfield wrote: > > On Tue, Oct 5, 2010 at 2:12 PM, Tony Bentley > wrote: >> I have a cfc that gets instantiated and then stored in an array. I have a >> bunch of different objects (arrays, queries, structures, etc) in the cfc >> which all gets used but becaus

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Sean Corfield
On Tue, Oct 5, 2010 at 2:12 PM, Tony Bentley wrote: > I have a cfc that gets instantiated and then stored in an array. I have a > bunch of different objects (arrays, queries, structures, etc) in the cfc > which all gets used but because of the way I am storing them, the methods can > be called

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Mark Mandel
How does composition over inheritance apply here? Mark On Wed, Oct 6, 2010 at 12:09 PM, Tony Bentley wrote: > > composition over inheritance? > > > ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Cold

RE: cfgrid dynamic row colour

2010-10-05 Thread Andrew Scott
http://www.andyscott.id.au/2010/10/5/ColdFusion-9-and-how-to-change-the-colo ur-of-the-row-in-a-CFGrid Regards, Andrew Scott http://www.andyscott.id.au/ > -Original Message- > From: Anthony Doherty [mailto:anthony.dohe...@oakleafcontracts.com] > Sent: Wednesday, 6 October 2010 7:53 AM >

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Tony Bentley
composition over inheritance? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Mark Mandel
Odd question - why do you care if the methods are exposed? If they are meant to be exposed, what is the point of hiding them? Mark On Wed, Oct 6, 2010 at 11:16 AM, Tony Bentley wrote: > > Thanks Matt. I think I understand the difference between the two > scopes and why not to use the this scop

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Tony Bentley
Thanks Matt. I think I understand the difference between the two scopes and why not to use the this scope. For the very reason I am needing! In most cases it isn't a problem but when methods are exposed it becomes apparent. - Tony Bentley (sent from iPhone) On Oct 5, 2010, at 3:11 PM, Judah McAu

RE: Highlighting non-standard ASCII characters?

2010-10-05 Thread Bobby Hartsfield
Much, much cleaner. (if it works) I always forget about not needing to escape characters inside classes. Lately, I don't get as much regex exercise as I used to. As for the ñ, I thought it was odd since the docs say \w is the equivalent of A-Za-z0-9_, yet when I use \w, it matched ñ where A-Za-z0

RE: CF9 Paused Scheduled Tasks Still Running

2010-10-05 Thread Bobby Hartsfield
I think the tasks are still "polled" to see if they need to run or not. That is probably what is updating the date. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Christopher Watson [mailto:skyg...@gmail.com] Sent: Tuesday, October 05, 20

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Judah McAuley
Matt, do you know of a good rundown on the difference between This and Variables scope in a CFC? I have a basic understanding of it but it is always been something I wanted to make sure I understood the fine distinctions in, kind of like the difference between var scoped variables and the local sc

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Matt Quackenbush
I don't think I am actually understanding the question at hand, but hopefully this will at least help you out. First of all, I would strongly discourage anyone from using the "this" scope of the CFC. There are a variety of reasons for that recommendation, but chief among them is the ability to a

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Tony Bentley
I was hoping to shortcut the process of resetting the 'this' scope to a different scope for the sake of saving time. So you're saying that the only way is to specifically call on the structure members? returnObject = StructNew(); returnObject.id = this.id; returnObject.name = this.name; return

Re: Any way to prevent storing methods inside of an array

2010-10-05 Thread Raymond Camden
What you want is a serialized form of your CFC. You need to write a method, perhaps called serialization, or maybe toStruct(), that returns a struct containing the data you want. On Tue, Oct 5, 2010 at 4:12 PM, Tony Bentley wrote: > > I have a cfc that gets instantiated and then stored in an ar

Any way to prevent storing methods inside of an array

2010-10-05 Thread Tony Bentley
I have a cfc that gets instantiated and then stored in an array. I have a bunch of different objects (arrays, queries, structures, etc) in the cfc which all gets used but because of the way I am storing them, the methods can be called and I want to prevent that. So here is an example of my iss

cfgrid dynamic row colour

2010-10-05 Thread Anthony Doherty
Hi i have a grid that displays a date field. Im looking some help in changing the colour of the row if the date is less than 2 weeks away?? also im using cf9 Thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amaz

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Maureen
True. I've signed NDAs for a lot of private betas. On Tue, Oct 5, 2010 at 10:11 AM, Dave Watts wrote: > Adobe would appear to disagree with you. They require an NDA for > private betas, and they don't pay me anything to beta-test their > software. This includes software that they later release

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Adrocknaphobia
Pete, Kudos for sharing your framework with the wider community, but I think your SLA and NDA are going to negatively impact it's adoption and growth. I've unfortunately become quite apt at reading agreements like these and a few items have jumped out at me. 2.1 Licensor hereby grants to License

Re: How to point to a Directory?

2010-10-05 Thread Gonzo Rock
IE definitely used to pass the full path... we created a feature based on it where someone high level could configure links to documents that existed somewhere on the users network... //machine/path/path/filename.extension Then users using the application could open the files on their local machi

RE: CF9 Paused Scheduled Tasks Still Running

2010-10-05 Thread DURETTE, STEVEN J (ATTASIAIT)
I'm not totally sure, but I do notice that when I restart my CF server, there is an entry for the scheduled task in the log stating that it is paused. Could it be that that date updates every time the CF Server tries to run (on its scheduled time) but doesn't actually run it. Or maybe instead of

Re: CFMAP and the no longer needed api key

2010-10-05 Thread Eric Roberts
You are right Jacob...they are a very helpful community. I am blessed to be part of 2 very helpful communities. I wish all the other lists were as helpful as Google maps and cf-talk. Eric On Tue, Oct 5, 2010 at 1:17 PM, Jacob Munson wrote: > > +1 on using the API. I have written several map

Re: CFMAP and the no longer needed api key

2010-10-05 Thread Jacob Munson
+1 on using the API. I have written several maps this way, and the developer community is VERY supportive and helpful when you hit snags. The only trouble I've had with that community is that they require you to post a publicly accessible version of your map before they'll even look at your ques

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Dave Watts
> Are you paying for beta testing? If so, then true. It's acceptable to > have an NDA. But your post came off as someone who wants to have the > community help beta test for free. In that case, IMHO, it should be > open source and therefore, open to people to talk about. > > Then again, that's jus

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Phillip Vector
Are you paying for beta testing? If so, then true. It's acceptable to have an NDA. But your post came off as someone who wants to have the community help beta test for free. In that case, IMHO, it should be open source and therefore, open to people to talk about. Then again, that's just my person

CF9 Paused Scheduled Tasks Still Running

2010-10-05 Thread Christopher Watson
I've got about 20 scheduled tasks set up in a CF9 installation, and I have every single one of them PAUSED. Yes, the second icon from the left in the "Actions" column of the Scheduled Tasks page in CF Admin shows as a "green light" document, with the title (tool tip) of "Resume Scheduled Task"

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Scott Stroz
You know what, my bad. You never said it was 'open source' merely that it was 'free'. Very big differences there. Carry on. On Tue, Oct 5, 2010 at 12:13 PM, Scott Stroz wrote: > Can software still be 'open source' if you need to agree to a > non-disclosure agreement before downloading it? Seems

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Pete Oliver-Krueger
On Oct 5, 2010, at 9:40 AM, James Holmes wrote: > > Ah, free as in beer but not free as in speech. Yeah, I'll stick to FOSS or > pay for a commercial license, thanks. Actually - to clarify - my company's philosophy is that we split out a percentage of the profits to pay contributors to the fr

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Eric Cobb
You can freely use and redistribute the code, just don't tell anyone where you got it. ;) Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com Scott Stroz wrote: > Can software still be 'open source' if you need to agree to a > non-disclosure agreement bef

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Scott Stroz
Can software still be 'open source' if you need to agree to a non-disclosure agreement before downloading it? Seems like a contradiction there. On Mon, Oct 4, 2010 at 5:08 PM, Pete Oliver-Krueger wrote: > > Good day, CFers, > > I'm looking for beta testers for a new framework.  We've been using

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Pete Oliver-Krueger
Thanks for the feedback. If you don't mind saying more, I'd like to followup with you off-list. Everything has a license these days, even FOSS. Most just drop it in the download folder with "...by using this software you agree to the terms of this license..." that you may or may not see. I

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 thi

Re: CFMAP and the no longer needed api key

2010-10-05 Thread Eric Roberts
I will be taking the "naked" approach...I was just hoping that there was a way around it as the tag is SO much easier. Most of the work i have done with Google Maps has been through the API...I was just hoping to be able to take advantage of the tag...oh well ;-) The API approach is pretty simpl

Re: CFMAP and the no longer needed api key

2010-10-05 Thread Raymond Camden
CF definitely uses V2. You can see it in the JS libraries requested. You can always just use Google Maps "naked" - I did for the first time last weekend: http://www.coldfusionjedi.com/index.cfm/2010/10/2/Centering-a-map-when-you-dont-know-where-to-center-it On Tue, Oct 5, 2010 at 9:02 AM, Dav

Re: CFMAP and the no longer needed api key

2010-10-05 Thread Dave Watts
> Since version 3 no longer requires an API key for the Google Maps API, does > anyone know a way around CF's restriction of needing one for using cfmap? My guess is that CF doesn't use the version 3 API anyway, so you'd still need a key. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread James Holmes
Ah, free as in beer but not free as in speech. Yeah, I'll stick to FOSS or pay for a commercial license, thanks. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 5 October 2010 18:04, Peter Boughton wrote: > > I went to go take a look at it, and got to the download pag

RE: Smartertools (was Looking for the right SMTP server)

2010-10-05 Thread Russ Michaels
My argument was over a reseller account I was dealing with Jeffrey J. Hardy, Vice President of Business Operations He was Argumentative, insulting, accused me of fraudulent activity and criminal intent and told blatant lies to myself and the other party involved trying to play us off against each

Re: Beta Testers Wanted - TrafficMunkey - A New CF Framework

2010-10-05 Thread Peter Boughton
I went to go take a look at it, and got to the download page... Apparently I have to sign an SLA and NDA to download it? Screw that. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology

Re: Highlighting non-standard ASCII characters?

2010-10-05 Thread Peter Boughton
Hmmm, although it works that code is not quite correct - there's a few issues with it. >> If you don?t mind characters like ñ, then just use \w instead of A-Za-z0-9_ This is *incorrect* - in ColdFusion regex, \w does NOT include accented characters. There are other regex engines where it does

Re: Highlighting non-standard ASCII characters?

2010-10-05 Thread Marie Taylore
Bobby, Thank you! This works great! MarieT > Something like this? > > rereplace(str, '([^A-Za-z0-9_\r\s\n!\.\?''"\(\)&,;:])', ' class="highlight">\1', 'all') > > > If you don’t mind characters like ñ, then just use \w instead of A-Za-z0-9_ > > > rereplace(str, '([^\w\r\s\n!\.\?''"\(\)&