Re: Mac II or ColdSpring

2010-02-18 Thread Charlie Griefer
You do realize that most of what you're asking isn't the function of a framework and the framework itself would really have no part in any of the items you listed. Also, as Dominic pointed out, Mach ii and ColdSpring address different areas of concerns. Mach-ii (and ColdBox and Fusebox and

Re: coldfusion and MySql

2010-02-17 Thread Charlie Griefer
I don't know that there's a book that really covers the two topics together, if that's what you're asking. The interaction between CF and whatever database you choose to use is really pretty much the same. The only difference would be in your cfqueries, knowing that the SQL you're writing is

Re: Cfloop List Multiple Charecter Delimiters

2010-02-12 Thread Charlie Griefer
Treating 'OAT' as a deimiter isn't going to get you what you want. The delimiter is not considered part of the list element itself. So if you have GOAT,BOAT,MOAT,BOOBS, and you want to delimit on the string 'OAT', if you're successful then you'd end up with: G,B,M,BOOBS ... because the

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Charlie Griefer
Wouldn't it be pretty straightforward and more legible to just loop over the list and do a conditional on each loop iteration? Unless you've got a ridiculously large list it should still perform well enough. !--- create list --- cfset variables.exampleList = Boat,Goat,Moat,CherryPie !---

Re: Cfloop List Multiple Charecter Delimiters

2010-02-11 Thread Charlie Griefer
Leigh - just to clarify, I wasn't suggesting the straightforward loop w/conditional was more straightforward/legible than the UDFs on cflib... I meant in general compared to some of the suggestions so far in this thread. Not taking anything away from any the suggestions themselves... they're all

Re: Why i fear ColdFusion is on its last legs

2010-01-22 Thread Charlie Griefer
Judah: It's likely that you misunderstood. I started a CFUG in the East Bay, California area less than a year ago. I've not had Adobe attempt to influence any sort of influence over the topics we cover, nor did they attempt to mandate that the group be referred to as anything other than a

Re: Zipping files in CF7?

2010-01-21 Thread Charlie Griefer
http://zipcfc.riaforge.org/ On Thu, Jan 21, 2010 at 12:55 PM, Marie Taylore mt4yl...@yahoo.com wrote: I seem to recall there's a way to call some Java routines in ColdFusion 7 to zip or unzip files. Can anyone point me to any how to's on this? Thanks!

Re: Zipping files in CF7?

2010-01-21 Thread Charlie Griefer
whoops. looks like the download link doesn't work from riaforge. googling brings up http://www.newsight.de/2005/06/28/finished-work-on-zip-cfc/ On Thu, Jan 21, 2010 at 12:56 PM, Charlie Griefer charlie.grie...@gmail.com wrote: http://zipcfc.riaforge.org/ On Thu, Jan 21, 2010 at 12:55 PM

Re: Zipping files in CF7?

2010-01-21 Thread Charlie Griefer
? Not true? --- On Thu, 1/21/10, Charlie Griefer charlie.grie...@gmail.com wrote: From: Charlie Griefer charlie.grie...@gmail.com Subject: Re: Zipping files in CF7? To: cf-talk cf-talk@houseoffusion.com Date: Thursday, January 21, 2010, 12:58 PM whoops. looks like the download link

Re: hosting

2010-01-13 Thread Charlie Griefer
If really inexpensive is what you're after, check out http://www.hostingatoz.com On Wed, Jan 13, 2010 at 3:55 PM, Scott Stewart sstwebwo...@bellsouth.netwrote: Yeah, this is kinda off topic, but.. Someone, I think it was Sean Corfield had mentioned a really inexpensive ColdFusion hosting

Re: model glue xml file

2009-12-18 Thread Charlie Griefer
http://charlie.griefer.com/blog/index.cfm/2009/7/22/Securing-Your-XML-Config-Files:) On Fri, Dec 18, 2009 at 8:24 AM, Chad Gray cg...@careyweb.com wrote: What keeps someone from loading up the model-glue XML file through their browser? How should you protect it?

Re: Null Pointers are another name for undefined values

2009-12-16 Thread Charlie Griefer
Can you upload just a hello world index.cfm without an Application.cfc (or Application.cfm)? Just curious as to whether or not the issue is definitely in the Application.cfc. On Wed, Dec 16, 2009 at 7:49 AM, Steve Logan st...@sagescholars.com wrote: I have a friend who came to me a while ago

Re: Null Pointers are another name for undefined values

2009-12-16 Thread Charlie Griefer
... and you're sure that the hosting environment is CF7? does an Application.cfm work? can you dump the server scope to verify the CF version? On Wed, Dec 16, 2009 at 8:24 AM, Steve Logan st...@sagescholars.com wrote: Yes - removing the application.cfc file and just putting up a simple

Re: Null Pointers are another name for undefined values

2009-12-16 Thread Charlie Griefer
Not a clue... but I'm wondering if it has anything to do with restrictions enforced by NSI. Can you manually instantiate any other CFCs? On Wed, Dec 16, 2009 at 8:40 AM, Steve Logan st...@sagescholars.com wrote: Application.cfm DOES work. Appserver: JRun4 ProductLevel: Enterprise

Re: Null Pointers are another name for undefined values

2009-12-16 Thread Charlie Griefer
Might want to ping NSI and see if they can do anything for you. I had a shared host once that disabled createObject() by default, but upon request they would enable it for whatever sandbox your site is in. On Wed, Dec 16, 2009 at 9:08 AM, Steve Logan st...@sagescholars.com wrote: Nope. Both

Re: CF MX 6.1 - zipping files

2009-12-16 Thread Charlie Griefer
http://www.newsight.de/2005/06/28/finished-work-on-zip-cfc/ Haven't used it, so can't vouch for it... but I do have a CFMX7 gig I'm working on, and will be looking to implement this in the next few days myself. On Wed, Dec 16, 2009 at 9:54 AM, coldfusion.develo...@att.net wrote: I'm stuck

Re: Two Column Select Box?

2009-12-16 Thread Charlie Griefer
You'd need to style the option to use a fixed-width font. On Wed, Dec 16, 2009 at 2:03 PM, ColdFusion Developer cfdev2...@gmail.comwrote: Tried that as well. Does not line up. Ex: option value=13M | XYZ Corporation/option option value=1ABCDY | AB Corporation of Delaware/option

Re: scoping and speed

2009-12-10 Thread Charlie Griefer
In theory, yes, as ColdFusion will have to hunt through the various scopes to find the exact variable that you're referencing. Whether it's noticeable or not.. hard to say. From the CF8 docs ( http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Variables_32.html ): Because

Re: scoping and speed

2009-12-10 Thread Charlie Griefer
Actually I think that was my bad. I had mentioned that I heard #foo# evaluates faster than #variables.foo# on Railo. Guess I heard (or remembered) incorrectly :) Sorry 'bout that. On Thu, Dec 10, 2009 at 1:11 PM, Gert Franz gert.fr...@railo.ch wrote: Judah, you got me wrong. For Railo

Re: Check Boxes

2009-12-08 Thread Charlie Griefer
Showing code would be a good first step... On Tue, Dec 8, 2009 at 6:27 AM, Damo Drumm damien.dr...@quinn-group.comwrote: Hi can someone help me out here, Im trying to have a check box for each invoice so when its ticked and you press submit all the ticked invoices will be sent to the

Re: admin

2009-12-07 Thread Charlie Griefer
Or a google search :) http://www.google.com/search?q=coldfusion+recover+admin+password On Mon, Dec 7, 2009 at 9:35 AM, Andy Matthews li...@commadelimited.comwrote: I'd suggest a search of the HoF mailing list. Probably the quickest way to start. -Original Message- From: Orlini,

Re: Accordion - How do you?

2009-12-03 Thread Charlie Griefer
www.jquery.com :) On Thu, Dec 3, 2009 at 3:53 PM, Kim Hoopingarner k.hoopingar...@e-details.com wrote: what is jquery? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of

Re: regular expression problem

2009-12-03 Thread Charlie Griefer
how about cfif { var } contains pics.mysite.com ? On Thu, Dec 3, 2009 at 4:55 PM, Andrew Grosset rushg...@yahoo.com wrote: I'm trying to build a regular expression that only accepts images from http://pics.mysite.com; (part of an antisamy policy) my expression:

Re: regular expression problem

2009-12-03 Thread Charlie Griefer
Ah, cool. Didn't know about AntiSamy. Reading up :) On Thu, Dec 3, 2009 at 5:18 PM, Andrew Grosset rushg...@yahoo.com wrote: Yes that would work but this is part of an antisamypolicy.xml file that filters all user input - for more info see: Using AntiSamy to protect your CFM pages from

Re: Looking for a CF 8 host

2009-11-25 Thread Charlie Griefer
If you've got enough clients to justify it, you could get a CF8 VPS. I believe prices range from $35/mo to $75/mo (depending on various factors). Even if it cost you $75 a month, and you had 5 clients, you'd break even if you charged each $15/month. And for all intents and purposes, it's your

Re: SOT: most important CFML framework

2009-11-16 Thread Charlie Griefer
I think you're going to get a resounding It depends on this one. Frankly (and I'll preface this with this: of those you specified in the list, I've only used Fusebox, Model-Glue, and ColdBox), if you know at least one of them, you'll likely be able to pick up any of the others fairly easily. If

Recursive CFLDAP calls

2009-11-16 Thread Charlie Griefer
clear to me that all involved parties would prefer that I not crash the server anymore. Thanks :) Charlie -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success

Re: LEFT Command question

2009-11-16 Thread Charlie Griefer
theName = Smith, Jim cfoutput#listFirst(theName) left(listLast(theName), 1)#/cfoutput you could wrap that into a UDF. And might (?) need a trim() in there to deal with the space between the list elements. On Mon, Nov 16, 2009 at 8:18 AM, Keith McGee kpmc...@frontiernet.netwrote: Is it

Re: Recursive CFLDAP calls

2009-11-16 Thread charlie griefer
:) Charlie -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| Want to reach the ColdFusion community

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Charlie Griefer
Preference. Some people would prefer to not introduce the extra CFML markup into the HTML markup. The jQuery lets you manipulate the HTML without actually modifying the HTML. That's nice. The CF method will work even if the user has JS disabled. That's nice. Neither is right or wrong. On

Re: 'Tis a sad, sad day...jQuery kills FireFox but works great in IE!

2009-11-13 Thread Charlie Griefer
to do with table striping in CF vs jQuery, and wasn't really pertinent to the original question, but figured I'd take a shot at answering :) -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success

Re: ColdFusion 9 books

2009-11-10 Thread Charlie Griefer
There will be a ColdFusion 9 Web Application Construction Kit by Forta, et al. On Tue, Nov 10, 2009 at 9:11 AM, Joshua Rowe jr...@varimereweb.com wrote: Does anybody know of any ColdFusion 9 books that are already out or will be coming out in the near future? I'm looking for something

Re: ColdFusion 9 books

2009-11-10 Thread Charlie Griefer
You're lucky. The deadlines on all of mine went whooshing past a while back :) On Tue, Nov 10, 2009 at 7:54 PM, Gerald Guido gerald.gu...@gmail.comwrote: Sometime after today. Huh... All of my open projects have the same deadline. Small world. G! On Tue, Nov 10, 2009 at 5:01 PM,

Re: CF LiveDocs

2009-11-09 Thread Charlie Griefer
Yeah, but who'se using CF8 anymore? That's so last month. :) On Mon, Nov 9, 2009 at 1:52 PM, Cutter (ColdFusion) cold.fus...@cutterscrossing.com wrote: CF 8 docs in FF appear to be hosed, while the 9 docs, and the 7 docs, came up with no problem Steve Cutter Blades Adobe Certified

Re: CF LiveDocs

2009-11-09 Thread Charlie Griefer
Wow. It's a good thing CF developers aren't at all reflexively defensive. (i kid, i kid) :D On Mon, Nov 9, 2009 at 2:53 PM, Leigh cfsearch...@yahoo.com wrote: Yeah, but who'se using CF8 anymore? That's so last month. :) Hey! I resemble that remark.

Re: CF LiveDocs

2009-11-09 Thread Charlie Griefer
On Mon, Nov 9, 2009 at 5:33 PM, Leigh cfsearch...@yahoo.com wrote: Wow. It's a good thing CF developers aren't at all reflexively defensive. (i kid, i kid) :D What are you implying?! Oh ...nevermind ;-) I see what you did there :) -- Charlie Griefer http://charlie.griefer.com/ I

Re: Clear Fields In Firefox

2009-11-04 Thread Charlie Griefer
Couple of options you can try: 1) add autocomplete=off to the input 2) on page load do a document.forms['formname'].reset() 3) generate a UUID and append it to the field name (pass as a hidden input to retrieve values on the action page). this should ensure unique form field names which should

Re: Format word text pasted

2009-11-04 Thread Charlie Griefer
there's a function on cflib called demoronize() that's supposed to clean text pasted from Word. but i've heard it's not quite bullet-proof. As far as formatting the data... when it goes into the database. Then you only do it once, as opposed to doing it every time you display. On Wed, Nov 4,

Re: Active Directory Question

2009-11-03 Thread Charlie Griefer
I know squat about AD too, so this is pretty much the blind leading the blind... but cfldap? On Tue, Nov 3, 2009 at 10:18 AM, Scott Stewart sstwebwo...@bellsouth.netwrote: I know squat about AD, first off :-) Can I query an AD server and have it send back all the data that it has on a

Re: Active Directory Question

2009-11-03 Thread Charlie Griefer
cfnyauthenticate ensures the user roots for the Giants and knows good pizza. On Tue, Nov 3, 2009 at 10:50 AM, Scott Stroz boyz...@gmail.com wrote: If all you need is the groups a user is part of, you can use cfnyauthenticate / http://www.cfquickdocs.com/cf8/#cfNTauthenticate On Tue, Nov

Re: RegExp Question

2009-11-02 Thread Charlie Griefer
There are a number of UDFs on cflib that will handle this... http://cflib.org/udf/FormatTeaser http://cflib.org/udf/FullLeft ... and probably a few others. Browse the string library at http://cflib.org/library/StrLib On Mon, Nov 2, 2009 at 11:42 AM, Don L do...@yahoo.com wrote: I'm trying

Re: RegExp Question

2009-11-02 Thread Charlie Griefer
It's the posix expression [:space:] inside of a character class (surrounded by square brackets) so... [[:space:]] see http://livedocs.adobe.com/coldfusion/8/htmldocs/regexp_09.html On Mon, Nov 2, 2009 at 12:44 PM, Don L do...@yahoo.com wrote: There are a number of UDFs on cflib that will

Re: Comparing upper case and lower case

2009-10-23 Thread Charlie Griefer
compare() is a case-sensitive comparison of strings. On Fri, Oct 23, 2009 at 1:39 PM, Phillip Vector vec...@mostdeadlygame.comwrote: I got a confusion issue here... session.sRep.PassWord NEQ password session.sRep.Password is 'AAA' (The old password) password is 'aaa' (The new password)

Re: OT database problem

2009-10-22 Thread Charlie Griefer
Integer fields for zip codes can be problematic in the case of a zip code like 08817 (tends to strip off the leading zero). On Thu, Oct 22, 2009 at 11:35 AM, Timothy Laureska tlaure...@dhmh.state.md.us wrote: Is there any reason you're not using an integer field type of some sort?

Re: Anyway to disable CF FORM FIELD Validation?

2009-10-22 Thread Charlie Griefer
use form instead of cfform? On Thu, Oct 22, 2009 at 2:12 PM, Brook Davies cft...@logiforms.com wrote: I have forms that have _required and similar field names. I do NOT want to use the build in Form Validation. Is there any way to disable it? I would be happy to disable it completely for

Re: Anyway to disable CF FORM FIELD Validation?

2009-10-22 Thread Charlie Griefer
validation message. Brook -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: October-22-09 2:25 PM To: cf-talk Subject: Re: Anyway to disable CF FORM FIELD Validation? use form instead of cfform? On Thu, Oct 22, 2009 at 2:12 PM, Brook Davies cft

Re: Ok...I give...what's wrong with this code?

2009-10-20 Thread Charlie Griefer
#imagesW200# is the name you assigned to your cfdirectory. essentially, it's a CF query object. which is a complex object. complex objects cannot be used as strings (as you're trying to use it as part of a path). On Tue, Oct 20, 2009 at 11:02 AM, Rick Faircloth r...@whitestonemedia.comwrote:

Re: AHP Hosting Down Anyone on AHP?

2009-10-07 Thread Charlie Griefer
I believe he's in Georgia (?) On Tue, Oct 6, 2009 at 9:59 AM, Igor Ilyinsky i...@maverickmaven.comwrote: Thanks, I've been burning up Greg's cell and email this AM. Does anyone know if he's in LA? -Igor -Original Message- From: Michael Dinowitz

Re: (ot) Detect OS and CPU Architecture

2009-09-26 Thread Charlie Griefer
Actually I've heard he's quite flexible. On Sat, Sep 26, 2009 at 4:23 PM, Don L do...@yahoo.com wrote: You are a disgusting and despicable being and your rigidness is beyond words. The question was to detect a user's OS and its CPU architecture not the server's. Do you know how my app is

Re: Check for Specific Numeric Date

2009-09-25 Thread Charlie Griefer
isNumeric(form.num) will always evaluate to 0 (and not 4). It's a literal string (by virtue of the fact that it's enclosed in quotes). So this condition will never be true. What you want is isNumeric(form.num). Which will return true or false. So when you say isNumeric(form.num) eq 4... I'm

Re: Getting URL from URL address bar!

2009-09-23 Thread Charlie Griefer
If you're responding to Andy, he's 100% correct. Referer isn't just for search engines, it's whatever page they were last on. IF they were last on a page. When you type in the URL, referer will be empty because there was no referrer. Similarly, if you access the page from a bookmark, there

Re: drop down box

2009-09-22 Thread Charlie Griefer
I don't know cfselect (or cfform in general, really)... so if not using cfform is an option, here's how it'd be done. form onsubmit=return checkThis(this); select name=foo id=foo option value=Please Select One/option option value=AA/option ... /select /form script

Re: drop down box

2009-09-22 Thread Charlie Griefer
from the docs: Note: This attribute has no effect if you omit the size attribute or set it to 1, because the browser always submits the displayed item. You can work around this issue: format forms by having an initial option tag with value= (notice the space character between the quotation

Re: Custom scopes

2009-09-21 Thread Charlie Griefer
In other words, you're implicitly creating a structure called 'myscope' with a key called 'var' (and then that structure gets put into the local/variables scope anyways). On Mon, Sep 21, 2009 at 9:46 AM, Alan Rother alan.rot...@gmail.com wrote: Of course. However... what you have really done

Re: Custom scopes

2009-09-21 Thread Charlie Griefer
a step or two and ask why you're looking to do this? On Mon, Sep 21, 2009 at 10:30 AM, Rick Sanders c...@webenergy.ca wrote: Thanks. Makes sense I have to create the scope before assigning a var to it! -Original Message- From: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent

Re: Simple JS question...

2009-09-16 Thread Charlie Griefer
not tested, but something like: a href=# onclick=takeMeThere();Add to Wishlist/a script type=text/javascript function takeMeThere() { var mySelectBox = document.getElementById('mySelectBox'); var productID = mySelectBox.options[mySelectBox.selectedIndex].value;

Re: Quick question on cflock...

2009-09-09 Thread Charlie Griefer
On Wed, Sep 9, 2009 at 11:04 AM, Jason Fisher ja...@wanax.com wrote: If you are on CF8+, then my understanding is that locking READ functions is no longer required. If you're still on CFMX 7, then, yes, cfif arrayLen(session.customer.custerrors) is a READ function and should be locked.

Re: (ot) automatical re-diretion from youtube

2009-09-01 Thread Charlie Griefer
On Tue, Sep 1, 2009 at 2:25 PM, Don L do...@yahoo.com wrote: +1 @Dominic I gotta believe that working with a published and documented API is, by definition, the LEAST messy option out there. If YouTube gives you exactly what you need to get to where you want to be with a few lines

Re: odd error calling function in cfc

2009-08-15 Thread Charlie Griefer
I'd be really surprised if that was the actual issue. if add_option was a reserved word, your initial iteration of the loop would have thrown the error (you said it would successfully complete the first iteration and then break). I'm not sure what the issues is, I'm just saying I'd be surprised

Re: Regex Help - Can this be simplified?

2009-08-13 Thread Charlie Griefer
less lines != simplified :) A year from now, which version are you going to want to come back to when it needs work? The 3 line version or the 1? I'd prefer the 3. Easier to read. Not really sure a regex solution is warranted here. You could probably get one whipped up to find all instances

Re: Regex Help - Can this be simplified?

2009-08-13 Thread Charlie Griefer
: Charlie Griefer [mailto:charlie.grie...@gmail.com] Sent: Thursday, August 13, 2009 1:29 PM To: cf-talk Subject: Re: Regex Help - Can this be simplified? less lines != simplified :) A year from now, which version are you going to want to come back to when it needs work? The 3 line version

Re: How to prevent JSON data Yes and No being returned to calling page as true and false...

2009-08-08 Thread Charlie Griefer
On Fri, Aug 7, 2009 at 11:40 PM, Dave l cfl...@jamwerx.com wrote: I wish I was asleep! More like been awake too damn long. Schedule is more like work 2-3 days/sleep 6 hrs, work 2-3 days/sleep 6 hrs, work 24 hrs/sleep 12 hrs.. rinse repeat. ... I don't get the rinse repeat reference. --

Re: How to prevent JSON data Yes and No being returned to calling page as true and false...

2009-08-07 Thread Charlie Griefer
don't know where it's being converted, but YesNoFormat() would be simpler than a bunch of conditionals. On Fri, Aug 7, 2009 at 11:39 AM, Rick Faircloth r...@whitestonemedia.comwrote: Long subject line. I've got char datatypes in a MySQL 5 db with data of Yes and No. I'm running an

Re: (ot) Twitter down

2009-08-06 Thread Charlie Griefer
I think the joke was Denial of Social Networking. They would've gotten it on cf-community (hint, hint) :) On Thu, Aug 6, 2009 at 12:27 PM, Nathan Strutz str...@gmail.com wrote: On Thu, Aug 6, 2009 at 11:58 AM, David McGuigan davidmcgui...@gmail.com wrote: I think you mean DOSN attack.

Re: list from array occurences

2009-07-29 Thread Charlie Griefer
does it have to be just one line? you can loop for the array length and do a list append... cfset myList = / cfloop from=1 to=#arrayLen(myArray)# index=idx cfset myList = listAppend(myList, 'VarChar') / /cfloop On Wed, Jul 29, 2009 at 9:27 AM, Richard White rich...@j7is.co.uk wrote:

Re: list from array occurences

2009-07-29 Thread Charlie Griefer
Randi - Based on how I read the question, the existing array and desired list had nothing in common, other than the length of elements. On Wed, Jul 29, 2009 at 9:56 AM, Randi Knutson rknut...@otan.us wrote: Everyone had interesting solutions, but I wonder why you just wouldn't use

Re: CFBuilder Code Coloring

2009-07-29 Thread Charlie Griefer
On Wed, Jul 29, 2009 at 11:27 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: Does anyone know how to set colors for the HTML tags in CF Builder? I have been using HomeSite and I like how the HTML tags, anchor tags, table tags, form tags, etc. are all different colors. Donnie:

Re: cfif, cfifelse problem... Invalid token 'apos;'...

2009-07-23 Thread Charlie Griefer
Michael - I spent a good 5 minutes looking at it trying to figure out if you mixed up single and double quotes or something. Sometimes... well, forest. trees. all that. :) On Thu, Jul 23, 2009 at 11:26 AM, Michael Stevens bigm...@bigmikes.orgwrote: Wow... I knew it would be dumb but I

Re: CFML Code Colorizer for display on a web page.

2009-07-22 Thread Charlie Griefer
check out http://coldfish.riaforge.org/ On Wed, Jul 22, 2009 at 10:06 AM, Gerald Guido gerald.gu...@gmail.comwrote: I have been looking around on Google, CFLib and RIAforge for something to colorize CF code (and CSS,JS, html if possible) such that it can be displayed on a web page. I am

Re: Comparisons - Your thoughts

2009-07-15 Thread Charlie Griefer
I'd be leery of something that says, always. Sometimes, it's OK to consider the readability/maintainability factor. On Wed, Jul 15, 2009 at 2:08 PM, Eric Cobb cft...@ecartech.com wrote: According to this Performance tuning for ColdFusion applications post, you should always use compare() or

Re: CF validation working with JS validation

2009-07-08 Thread Charlie Griefer
On Wed, Jul 8, 2009 at 3:08 PM, Nathan Chen nathan.c...@cu.edu wrote: I wonder if I missed something when I mixed JavaScript code with CFInput tag. Please see my code below. I placed the required and message in cfinput. It works fine. But I need to search the user input string and find if

Re: Reg:Last modified Date for file

2009-07-07 Thread Charlie Griefer
cfdirectory action=list ... / will return a query object listing all of the files. if you do a cfdump of that query, you'll see the dateLastModified as one of the available columns. On Tue, Jul 7, 2009 at 2:38 AM, RamaDevi Dobbala ramadobb...@gmail.comwrote: I need help on this, can any one

Re: Reg:Last modified Date for file

2009-07-07 Thread Charlie Griefer
what do you see if you do a cfdump var=#qGetLastdateModified# / ? On Tue, Jul 7, 2009 at 2:56 AM, RamaDevi Dobbala ramadobb...@gmail.comwrote: cfset fileList = datatrac.csv,datatrac-ag.csv cfoutput cfloop list=#fileList# index=page cfdirectory action=list

Re: cfinput question

2009-07-01 Thread Charlie Griefer
Only Flash based uploaders can filter the user's choice of file types. Best you can do is check it after the upload. (AFAIK) :) On Wed, Jul 1, 2009 at 1:53 PM, Les Irvin les.cft...@gmail.com wrote: At the risk of exposing my ignorance, isn't cffile a server-side operation? I'm needing a

Re: SQL Help

2009-06-28 Thread Charlie Griefer
if you're going to be generating your SQL like that, you'll need to wrap your final variable in preserveSingleQuotes(). so... cfquery name=addpersonaleventtome datasource=cf_WikiData #preserveSingleQuotes(sqlToRun)# /cfquery it will be pointed out to you (possibly before I even finish

Re: railo getting started

2009-06-23 Thread Charlie Griefer
On Tue, Jun 23, 2009 at 11:33 AM, Don L do...@yahoo.com wrote: first of all, I hope it's ok to post general cfml engine related question. just downloaded the railo 3.1 executable but have no idea how to get started, its own doc points to its wiki site, which does not seem to have a 'right'

Re: railo getting started

2009-06-23 Thread Charlie Griefer
On Tue, Jun 23, 2009 at 12:15 PM, Don L do...@yahoo.com wrote: You would be bettor off posting to a Railo mailing list. ra...@googlegroups.com http://tech.groups.yahoo.com/group/railo_talk/ G! On Tue, Jun 23, 2009 at 2:33 PM, D My post got bounced back, go figure. Did you post

Re: insert trouble...zero length

2009-06-16 Thread Charlie Griefer
On Tue, Jun 16, 2009 at 11:16 AM, Mark Fuqua MdProfinish m...@mdprofinish.com wrote: Sorry to ask, but does cfif LEN(TRIM(myquery.MyFieldName)) actually suffice as a check for length or do I have to add = 0... cfif LEN(TRIM(myquery.MyFieldName)) = 0 actually that'd be cfif

Re: ajaxCFC Access Denied

2009-06-16 Thread Charlie Griefer
On Tue, Jun 16, 2009 at 3:11 PM, David Torres djt...@yahoo.com wrote: Hello, I have worked on a web app on my computer using AjaxCFC. All is working as desired and now is time to move it to production. When I started going over my changes in production, I have the following error:

Re: jquery question

2009-06-03 Thread Charlie Griefer
check out one of the many jquery lightbox clones. http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/ http://www.stickmanlabs.com/lightwindow/ On Wed, Jun 3, 2009 at 3:42 PM, Mike Little m...@nzsolutions.co.nz wrote: sorry, could not think of a better subject!

Re: AutoFill

2009-05-31 Thread Charlie Griefer
On Sun, May 31, 2009 at 2:24 PM, Rick Jensen r...@jensen-web.com wrote: Summary: I am trying to autofill an input field based on the values of two other fields. Detail: I have two input fields called First_name and Last_name. I have a third field called Profile_name. I want to fill in the

Re: listtoarray -adding values with commas throws an error?

2009-05-29 Thread Charlie Griefer
On Fri, May 29, 2009 at 6:55 AM, Jeff F cftalk_l...@fongemie.com wrote: I've got a simple shopping cart that stores into in an array. If the product name has commas, and it attempted to be added to the cart, it throws an error: The value cannot be converted to a number. Error message is

Re: MySQL IDE on OS X

2009-05-26 Thread Charlie Griefer
On Tue, May 26, 2009 at 12:54 PM, David McGuigan davidmcgui...@gmail.comwrote: Can anyone recommend a good MySQL IDE on OS X? So far I've been using Navicat but it's kind of a joke. Anyone have one they actually like? I'm a relatively recent MBP user, so haven't really delved too deeply

Re: phone formating string and removing hidden characters

2009-05-19 Thread Charlie Griefer
just read it in doing a cffile and then do a cfloop over the content using the newline as the delimiter (as Mark suggested). no need for importing into a database or having to count 'x' number of characters. you've already got the data delimited. just loop over it and use the regex you posted

Re: CF 8 Hosting recommendations

2009-05-10 Thread Charlie Griefer
Are you looking for $20 per month for all 10 domains? Or $20 per month per domain? I have a feeling it's the former (and if so... good luck) :) If it's the latter, you might want to look into a VPS solution. If you go that route, I'll throw out a recommendation for http://ahphosting.net/ On

Re: cftextarea onChange doesn't fire

2009-05-06 Thread Charlie Griefer
On Wed, May 6, 2009 at 12:36 PM, Scott Stewart sstwebwo...@bellsouth.net wrote: Hey all. I have a cftextarea with an onChange. I believe an onchange in a textarea doesn't fire until the textarea loses focus (e.g. the user tabs or clicks out of it). try onkeyup instead. -- I have failed as

Re: where I can post a question?

2009-05-06 Thread Charlie Griefer
On Wed, May 6, 2009 at 3:23 PM, David J. Torres djt...@yahoo.com wrote: ...I think you just did? -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~| Adobe®

Re: Returning a CFSTOREPROC from a CFFUNCTION

2009-05-06 Thread Charlie Griefer
On Wed, May 6, 2009 at 4:32 PM, David Torres djt...@yahoo.com wrote: I have been doing a lot of reading about stored procedures. I have worked w/ SPs in MS SQL. Now I am using ColdFusion. Well, with my reading done I have been able to call a SP from a cffunction. I have all my functions

Re: Anyone using Michael Sprague's jQuery tool as alternative for cfgrid?

2009-04-26 Thread Charlie Griefer
On Sun, Apr 26, 2009 at 4:07 PM, Don L do...@yahoo.com wrote: I am using jqGrid on a project right now and I love it.  Great replacement for cfgrid IMHO. http://www.trirand.com/blog/ On Fri, Apr 24, 2009 at 5:49 PM, D Took a quick peek, didn't see any cf sample code it would be nice if has

Re: CFINPUT won't accept submit as a type

2009-04-26 Thread Charlie Griefer
On Sun, Apr 26, 2009 at 10:09 PM, Maureen mamamaur...@gmail.com wrote: Have any of you seen this? It makes no sense at all since cfinput type=submit  is valid syntax Here's the code: cfform method=get name=loginForm onsubmit=return false;   cfinput type=text name=username label=username /

Re: Using Ajax to populate checkmarks?

2009-04-17 Thread Charlie Griefer
On Fri, Apr 17, 2009 at 1:18 PM, Richard White rich...@j7is.co.uk wrote: What did you use?  Or what *would* you recommend we use. we have built various AJAX applications and have always used JSMX (http://www.lalabird.com/) it is very simple to use and many people recommended it to us when

Re: coldfusion framework - i forget the name...

2009-04-13 Thread Charlie Griefer
On Mon, Apr 13, 2009 at 6:38 PM, Jake Pilgrim jpilg...@snapfitness.com wrote: I remember reading about a coldfusion framework out there - I quote framework because it was really more of a methodology. It was like 2 or 3 CFCs that laid out a fundamental OOP MVC framework, and I believe it

Re: Compare Strings

2009-04-07 Thread Charlie Griefer
On Tue, Apr 7, 2009 at 12:12 AM, Pranathi Reddy rk.prana...@gmail.com wrote: I am comparing two strings and if I have 2 strings String1: 0010as1 String2: 10as1 I should get an output that these two strings are equal. If I use Trim,LTrim,Rtrim, compare().. what ever I use I am

Re: Compare Strings

2009-04-07 Thread Charlie Griefer
On Tue, Apr 7, 2009 at 12:48 AM, Peter Boughton bought...@gmail.com wrote: So... what rules are you working with?  Are you saying that any leading/trailing zeros should be ignored? If so, rereplace(string1, '^0*|0*$', '', 'all') should remove leading/trailing zeros. H. Bit inefficient

Re: Compare Strings

2009-04-07 Thread Charlie Griefer
On Tue, Apr 7, 2009 at 7:53 AM, Pranathi Reddy rk.prana...@gmail.com wrote: Thanks Charlie and Peter for quick reponse... in either way I do ... I am getting -1 (string1 is less than string 2) Se below is that I did... cfset string1 = '0010as1000' cfset string2 = '10as1'

Re: Finding values not in a list

2009-04-06 Thread Charlie Griefer
On Mon, Apr 6, 2009 at 11:02 AM, Dave Long d...@northgoods.com wrote: So far, I am unable to find any other syntax for comparing the second query results to the list. Can anyone advise me? look into the valueList() function for getting a comma-delimited list of values from a query column.

Re: Validate Object's Component Type

2009-04-01 Thread Charlie Griefer
type=any On Wed, Apr 1, 2009 at 10:24 AM, Donnie Carvajal donnie.carva...@transformyx.com wrote: I am trying to write a CFC that will handle the population of an array of components. The CFC is very simple, it has the following properties: array //Will hold the array of components

Re: New Search Engine

2009-03-31 Thread Charlie Griefer
On Tue, Mar 31, 2009 at 9:57 PM, Phillip Senn phillips...@gmail.com wrote: I read a few years back someone was developing a search engine on a par with Google. He said that his boss had wireframed the front-end and that it was his job to develop the backend database. He said that if he put

Re: Missing Template Handler and Application.cfc

2009-03-26 Thread Charlie Griefer
On Thu, Mar 26, 2009 at 10:31 AM, Ian Skinner h...@ilsweb.com wrote: I take it that a CFML template defined to be used as a missing template hander does not process Application.cfc as a normal template does. Does anybody no the scoop about this? Well, according to the docs, you're

Re: dynamic variable

2009-03-24 Thread Charlie Griefer
for (i=1; i LTE listLen(currencies); i=i+1) { variables['product_price_' i] = getProduct['product_price_' i]; variables['product_price_sale_' i] = getProduct['product_price_sale_' i]; } give that a shot? On Tue, Mar 24, 2009 at 6:55 PM, Mike Little m...@nzsolutions.co.nz wrote: hey

<    1   2   3   4   5   6   7   8   9   10   >