Re: CF8 Dynamic Dropdowns

2007-11-27 Thread Charlie Griefer
just to throw another option out there... it could potentially all be done client side via javascript. create a 2d javascript array based on your query data. the onchange event from dropdown 1 would update the options in dropdown 2 based on that array. On Nov 27, 2007 11:35 AM, Steve Sequenzia <

Re: cffile destination

2007-11-16 Thread Charlie Griefer
expandPath()? http://livedocs.adobe.com/coldfusion/7/htmldocs/0460.htm On Nov 16, 2007 10:06 AM, Richard White <[EMAIL PROTECTED]> wrote: > hi, > > i am creating an upload facility using the cffile tag. > > from all i have read it seems that the destination attribute needs to have > the full

Re: BlogCFC Imports Not Showing

2007-11-14 Thread Charlie Griefer
: "sorry, there are no blog entries > available that match your criteria". Same message on the home page, the day > page, the month page, the category page. check tblblogentries.username = tblusers.username -- Charlie Griefer "

Re: query columnCount

2007-11-13 Thread Charlie Griefer
On Nov 13, 2007 11:38 AM, Richard White <[EMAIL PROTECTED]> wrote: > Hi, hopefully this is a very simple question. i cant find the answer on > google :( > > how do i count how many columns were returned in a cfquery > > thanks > > ~~~

Re: I am looking for some good tutorials or examples for learning OOP

2007-11-12 Thread Charlie Griefer
i'll second Andy's recommendation of the Object Oriented Thought Process. just about every CF'er I know who has moved towards OO has recommended the book as well. even tho the examples are in Java, it's largely language-agnostic and really just focuses on the core concepts of OO. On Nov 12, 2007

Re: CFC in application scope....or else?

2007-11-09 Thread Charlie Griefer
wed (it may be well before the actual issue that they were asking about). Remember to take what you read in e-mail with a grain of salt, because what you may read as being condescending may actually be a very sympathetic attempt to help. It's hard to discern in the written word tho :\ -- C

Re: changing a css file via coldfusion

2007-11-08 Thread Charlie Griefer
e. why would you want to involve coldfusion? for coldfusion to get involved, you'd have to reload the page (or use AJAX... but either way, you'd need to go back to the server). -- Charlie Griefer "...All the world shall be your en

Re: changing style sheets

2007-11-07 Thread Charlie Griefer
On Nov 7, 2007 3:39 PM, John P <[EMAIL PROTECTED]> wrote: > Is there a way to allow the user to change the style sheet of a page using a > link on the page? http://www.spoono.com/javascript/tutorials/tutorial.php?id=18 -- Cha

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Charlie Griefer
am i missing something here? if you're trying to get the file name (sans extension) and extension (sas filename) -of an uploaded file-... why not the cffile variables that i mentioned earlier (or has my prior message not made it yet?) On Nov 7, 2007 11:53 AM, Bobby Hartsfield <[EMAIL PROTECTED]>

Re: Inserting NULL into ms sql 2005 datetime field

2007-11-07 Thread Charlie Griefer
is the field configured to accept null values? are you actually inserting a NULL or are you just not inserting anything. if you're not inserting anything, it'll default to the default value (which seems to be 1/1/1900). INSERT INTO tablename (col1, myDateCol) VALUES ('foo', NULL) or in an updat

Re: How do I get the characters after the last period in a string?

2007-11-07 Thread Charlie Griefer
erfile. 2) instead of messing with the list functions, you can use cffile.clientFilename to get the name of the file (without the extension). instead of messing with the list functions, you can use cffile.clientFileExt to get the extension of the file. -- Charlie Griefer

Re: Quirk in CFEclipse?

2007-11-05 Thread Charlie Griefer
update your RDS plugin. this was fixed in a later release of that particular plugin. On Nov 5, 2007 11:15 AM, Rey Bango <[EMAIL PROTECTED]> wrote: > So here's an interesting quirk. If I open a CF file via FTP or local > using CFEclipse, line numbers show up correctly. But, if I open the same > fi

Re: string extraction

2007-11-02 Thread Charlie Griefer
rereplace(thetrace, '[^0-9.]', '', 'all') will replace everything that's not the actual IP then you can just use listGetAt(theTrace, 3, '.') and listGetAt(theTrace, 4, '.') On Nov 2, 2007 9:23 AM, Orlini, Robert <[EMAIL PROTECTED]> wrote: > Hello, > > I have an IP address as a string and am tryin

Re: Replacing Strings

2007-11-01 Thread Charlie Griefer
On Nov 1, 2007 7:44 AM, Rick Sanders <[EMAIL PROTECTED]> wrote: > Didn't think of that, but it's less code to do a replace than the > cfqueryparam. the cfqueryparam buys you more. and you should be using it anyway. -- Charlie Griefer ==

Re: fixing a piece of code

2007-10-30 Thread Charlie Griefer
to me like you need to define the variable (list) 'girls' before looping over it. -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But fir

Re: Calendar with Recurring Events

2007-10-26 Thread Charlie Griefer
g will > help. http://kalendar.riaforge.org/ -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner,

Re: Sending data to Actionpage

2007-10-25 Thread Charlie Griefer
ia CFWDDX first). how about a session variable? -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch you, digger, listener, runner,

Re: How should SQL handle same named columns from different tables?

2007-10-24 Thread Charlie Griefer
27;d probably avoid using * in an effort to remove the ambiguity. Then alias the column names. SELECT a.userID AS foo, b.userID AS bar, (other columns here) FROM ... (or, assuming they're the same value, just select one or the other, but not both) :) -- Charlie Griefer =

Re: load balancing/failover and CF

2007-10-24 Thread Charlie Griefer
sp). the coherence box > > acts as a dedicated session variable repository in the cluster... > > Err, but then you need to load balence and cluster them as well ? well, nobody says you -need- to, but yes :) ideally the coherence box would have to be high availability as well, or it al

Re: how to add a session variable on the tab click

2007-10-23 Thread Charlie Griefer
On 10/23/07, Claude_Schnéegans <[EMAIL PROTECTED]> wrote: > >>"How?" is not a good question. > > Why? ;-)) Because :P -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemie

Re: load balancing/failover and CF

2007-10-23 Thread Charlie Griefer
ed thing, and it always takes a different for each > application. I would say you have a plethora of options, el guapo. I hope > I've helped. > > -- > nathan strutz > http://www.dopefly.com/ > > > On 10/23/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > >

Re: how to add a session variable on the tab click

2007-10-23 Thread Charlie Griefer
t; > > > >> how to add a session variable on the tab click in Coldfusion > >> > >> > > How? How what? As was already suggested to you on the cfc-dev mailing list... you really need to take the time to formulate a "good" question. "How?" is not a

load balancing/failover and CF

2007-10-23 Thread Charlie Griefer
sive" process and not necessarily recommended (?) can anyone shed any light on how to handle this situation? i know we can move to client vars and use a db for client variable storage... but i'd prefer to stick with session variables if at all possible. thanks! -- Charlie Griefer ==

Re: how to add a session variable on the tab click

2007-10-23 Thread Charlie Griefer
anything that happens in the browser (e.g. clicking) is client side. coldfusion is server side. the only way to trigger a CF action (e.g. setting a session variable) after a client side event would be: 1) go back to the server (add a link to the tab) that sets the variable on the server and then

Re: Need help finding backend architecture article

2007-10-23 Thread Charlie Griefer
a > ColdFusion blogger. > > Anyone have a clue where I can find this article/blog. I haven't had much > luck searching through google and various aggregators. http://alagad.com/go/blog-entry/implementing-high-availability ? -- Charlie Griefer ==

Re: connection timeout/failure

2007-10-22 Thread Charlie Griefer
e is "database". I would like it to alert via email when the > connection is slow > > -----Original Message- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Monday, October 22, 2007 12:01 PM > To: CF-Talk > Subject: Re: connection timeout/failure >

Re: connection timeout/failure

2007-10-22 Thread Charlie Griefer
is the catch around the cfquery specifically? have you specified a "type" for the catch? On 10/22/07, Orlini, Robert <[EMAIL PROTECTED]> wrote: > Is there anyway to hace CF send an email alert if a datasource connection > does not respond within a certain amount of seconds? > > I have a query th

Re: DEATH to HOMESITE

2007-10-19 Thread Charlie Griefer
richard, meet cfeclipse. cfeclipse, meet richard. this is going to be the start of a beautiful relationship. On 10/19/07, Richard Colman <[EMAIL PROTECTED]> wrote: > F*cking HomeSite+ wiped out my file on the server (AGAIN). I do a file > write, it hangs, and I have to kill HomeSite. When I star

Re: find a string

2007-10-19 Thread Charlie Griefer
look into the mid() function. barring an elegant regex solution, you could do: On 10/19/07, Orlini, Robert <[EMAIL PROTECTED]> wrote: > I want to display a set of characters after a string (or in this case one > chgarater) in a text file is found. > > For example, after the search finds the "

Re: Stop View Source

2007-10-19 Thread Charlie Griefer
not to mention that the script only disables right-clicking. doesn't stop me from hitting 'View' -> 'Page Source' on the menu. Or from digging thru my cache and pulling up the page locally. On 10/19/07, Raymond Camden <[EMAIL PROTECTED]> wrote: > Which works real well when I disable JS. ;) > > O

Re: Stop View Source

2007-10-19 Thread Charlie Griefer
and rendered into HTML... but as far as the markup that's sent from the server to the client... there's nothing that can be done. -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and wheneve

Re: Replace spaces with dashes

2007-10-18 Thread Charlie Griefer
Here is what I > have: > > your code should be replacing trailing strings. but if you're looking to replace multiple spaces with a single dash, you'll need a regex. the + means "one or more" (and as with your code, should also h

Re: rewrite the action page like a function

2007-10-17 Thread Charlie Griefer
you can call the method right from the form. On 10/17/07, erik tom <[EMAIL PROTECTED]> wrote: > >sorry, to call it you'd also pass in the (optional) schoolcode argument. > > > >#myFunction(myform=form,schoolcode='foo&

Re: rewrite the action page like a function

2007-10-17 Thread Charlie Griefer
in a CFC?) #myFunction(form)# -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first t

Re: rewrite the action page like a function

2007-10-17 Thread Charlie Griefer
sorry, to call it you'd also pass in the (optional) schoolcode argument. #myFunction(myform=form,schoolcode='foo')# :) -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever

Re: rewrite the action page like a function

2007-10-17 Thread Charlie Griefer
wrap it in tags :) On 10/17/07, erik tom <[EMAIL PROTECTED]> wrote: > I need to rewrite the code so it looks like a function > > > > ListGetAt(form.categoryname,variables.i)> > > datasource="HotBanana_Manager"> >

Re: SPAM - SYS-Con relies on "dead" technology

2007-10-16 Thread Charlie Griefer
who said anything about fear? On 10/16/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Fear of the name of a thing increases the power of a thing in your > life. > > William > > -Original Message > -From: [EMAIL PROTECTED] > -Date: Oct 16, 2007 11:26 > -To: "CF-Talk" > -Subj: RE: SPAM -

Re: Don't quote me on this

2007-10-16 Thread Charlie Griefer
value="#HTMLEditFormat(data)#" On 10/16/07, Rand Thacker <[EMAIL PROTECTED]> wrote: > I have a form that allows the user to edit data in the database. > Let's now say that data looks like this: > > 14'6" cable > > Now, how does one handle the FORM element INPUT TYPE="text" with a prefilled > valu

Re: CF 8 - cfquery is returning a struct

2007-10-15 Thread Charlie Griefer
I've only just started playing with CF8, and yeah, it looks like you're correct. the data that (as of CFMX7) was available in the 'result' struct (if you used that attribute) is now available when you dump the query itself. i don't know that i'd call it a 'drastic change'. cfdump is pretty much

Re: Why would this query not return the correct data?

2007-10-14 Thread Charlie Griefer
> > I just don't get it... > > Any more ideas, anyone? :o/ > you tried dumping the query? will be your very best friend. see if it's the query that's not returning the data you want, or if it's the loop that's outputting it incorrectly. -- Char

Re: Checkbox validation

2007-10-12 Thread Charlie Griefer
g comma, so you'd have to do a conditional inside the loop to determine whether or not to show the comma). of course, if you want to output the list, you could just do: #form.adults# :) -- Charlie Griefer "...All the world shall be

Re: OT Sys-con at it again

2007-10-12 Thread Charlie Griefer
two things... 2nd to last paragraph: "...considered another strong step by Adobe on its way to dismentaling ColdFusion." dismentaling? last paragraph: "What Adobe is doing with ColdFusion is very similar to what Borland did in 1986. They bought Ashton Software for the sole purpose of killing d

Re: Need an active Javascript discussion group

2007-10-08 Thread Charlie Griefer
http://www.houseoffusion.com/groups/javascript/ but doesn't seem to be too much activity :( tell you what? i'll subscribe if you subscribe. see if we can change that :) On 10/8/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Does anyone know a good site with activity like here on houseoffus

Re: Null Values

2007-10-08 Thread Charlie Griefer
On 10/8/07, Jochem van Dieten <[EMAIL PROTECTED]> wrote: > Charlie Griefer wrote: > > heh. i suggested coalesce() over isnull() just to keep it portable. > > > > but agreed that isnull() is more "readable" than both the CASE and > > coalesce() sugges

Re: Null Values

2007-10-08 Thread Charlie Griefer
heh. i suggested coalesce() over isnull() just to keep it portable. but agreed that isnull() is more "readable" than both the CASE and coalesce() suggestions :) On 10/8/07, Rick Root <[EMAIL PROTECTED]> wrote: > Depending on your database, you could also use ISNULL() or IFNULL() > functions - mu

Re: CF Coding Standards

2007-10-08 Thread Charlie Griefer
rue" > hint = "first name of person"> > > -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will kill you. But first they must catch

Re: Null Values

2007-10-08 Thread Charlie Griefer
if you really need to distinguish between the 2 at the CF level (-if-)... you could just the coalesce() function... SELECT column1, coalesce(column2, NULL, 'nothing here'), -- the column which holds the potentially NULL value column3 FROM table (etc...) in this ca

Re: Null Values

2007-10-08 Thread Charlie Griefer
CF doesn't recognize the concept of a "null value". it converts null values into empty strings. from a database perspective, there's absolutely a difference between NULL (no value exists) and empty string (a string of zero length exists). However, CF does not make that distinction :( On 10/8

Re: Scary fun with variables scopes.

2007-10-05 Thread Charlie Griefer
add this: #isSimpleValue(session.test)# <-- YES <-- error which is weird because as of CFMX, creating a variable with a dot in the name will implicitly create a struct (soo would create a struct named 'foo' with a key named 'bar' and equal to 123). I guess the fact that 'session' is a reserved

Re: code not working

2007-10-03 Thread Charlie Griefer
I don't follow "I'm struggling with how to use the names in the right hand side box." ?? On 10/3/07, Toby King <[EMAIL PROTECTED]> wrote: > Hi there > > I have a piece of code that doesnt seem to be working and at present I cant > fathom why not. Well part of it is working but I'm stuck on final

Re: Next lowest number from array (or list).

2007-10-02 Thread Charlie Griefer
action). dunno if this is particularly elegant or not... :) #userAnswer# -- Charlie Griefer ===

Re: Visual confirmation code

2007-10-02 Thread Charlie Griefer
http://lyla.maestropublishing.com/ http://www.alagad.com/go/products-and-projects/captcha-component/captcha-component On 10/2/07, Michael David <[EMAIL PROTECTED]> wrote: > Hi Folks! > > I need to provide a visual confirmation code for a form submission on > one of my sites. You know, the "type th

Re: Trying to understand the CF8 - .Net integration

2007-10-02 Thread Charlie Griefer
mine). He further qualifies the statement with: "if you have any significant investment in application code." Just pointing out that in reality what he said was very, very different than just saying, "it's almost never a good

Re: javascript help

2007-09-28 Thread Charlie Griefer
this works in Firefox on XP. not tested beyond that: for (var i=0; i wrote: > I am taking a page and sending it

Re: Add a javascript handler to the window.onload event

2007-09-28 Thread Charlie Griefer
you should be able to add as many as necessary. just separate each with a semi-colon. onload="doFoo(); doBar(); doFooBar();" On 9/28/07, Ian Skinner <[EMAIL PROTECTED]> wrote: > What is a good way to added a javascript event handler to the > windows.onload event that already has one or more hand

Re: passing url

2007-09-26 Thread Charlie Griefer
wilson_dbases.cfm?account=#URLEncodedFormat(form.account)# On 9/26/07, Orlini, Robert <[EMAIL PROTECTED]> wrote: > How do I pass a percentage (%) sign within a URL? > > I have: wilson_dbases.cfm?account=#form.account# > > When form.account is entered with a percentage it generate an error. > > Thx

Re: Calendar module

2007-09-26 Thread Charlie Griefer
did this ages ago just to play around with cfscript, but it sounds like it'll do what you want. http://charlie.griefer.com/code/cf/cfscript_calendar.cfm wrap it up in a UDF and pass in month and year values. On 9/26/07, Andy Matthews <[EMAIL PROTECTED]> wrote: > I'm looking for some CF code that

Re: String validation HELP!!!!

2007-09-25 Thread Charlie Griefer
throw a {3} in there somewhere On 9/25/07, Kenny Kinds <[EMAIL PROTECTED]> wrote: > My solution is not workinig in all cases. > > Tried using ([a-z0-9]).\1, but doesn't check for three consecutive characters > in a row. > > any suggestions? > > Thanks > > > >r/(.*)Bobby(.*)/$1Ben$2/ig > > > >--Be

Re: #$^%& Forms!

2007-09-24 Thread Charlie Griefer
Transfer (http://www.transfer-orm.com/)? Reactor (http://trac.reactorframework.com/reactor)? objectBreeze (http://www.objectbreeze.com/)? :) On 9/24/07, Michael David <[EMAIL PROTECTED]> wrote: > Ok, I admit it; I hate developing forms! > > There's not one part of the process that I find even rem

Re: is it because form is protected?

2007-09-24 Thread Charlie Griefer
you can set fields into the form (keys into the form struct/scope), but not create/alter the form scope directly. in your code example, you'd loop over the tony struct and set each form field with that. does seem like a PITA... duplicate() would be a nicer (easier) way :\ On 9/24/07, Tony <[EMAI

Re: Open Source CF Survey Application

2007-09-21 Thread Charlie Griefer
If Soundings isn't robust enough, you could always contribute to the wheel instead of reinventing a whole new one :) On 9/21/07, Jonathan B. Davis <[EMAIL PROTECTED]> wrote: > Does anyone have experience with any CF open source survey application? > Feel free to share good and bad experiences. Th

Re: javascript and redirect

2007-09-21 Thread Charlie Griefer
i'm sure it is On 9/21/07, erik tsomik <[EMAIL PROTECTED]> wrote: > I found this script on the internet. So i wondering if it possible to > integrate this script into 1 I alredy have . I mean when session does not > exist show progress bar and then redirect > > "http://www.w3.org/TR/html4/stri

Re: javascript and redirect

2007-09-21 Thread Charlie Griefer
this might be an example of isDefined() being preferred over structKeyExists(). the code i provided goes here On 9/21/07, erik tsomik <[EMAIL PROTECTED]> wrote: > I tried this code but it saying that the session does not exist > > > > content="5;url=http://olympus.scs.jhu.edu/#session.

Re: javascript and redirect

2007-09-21 Thread Charlie Griefer
well, one issue you're going to run into off the bat is that if the session is expired, the #session.URL# variable will be undefined. so you'll have to address that. but it's no different than the logic you used in your initial post. the code i provided goes here On 9/21/07, erik tsomik

Re: javascript and redirect

2007-09-21 Thread Charlie Griefer
http://olympus.scs.jhu.edu/#session.URL#/admissions/";> Your session has expired. You will be redirect in 5 seconds. http://olympus.scs.jhu.edu/#session.URL#/admissions/";>click here if you are not automatically redirected. On 9/21/07, erik tsomik <[EMAIL PROTECTED]> wrote: > > the cflocation

Re: javascript and redirect

2007-09-21 Thread Charlie Griefer
the cflocation will preclude any client side code (HTML or JS) from displaying. use a JavaScript redirect. alert('your session has expired'); location.href="http://olympus.scs.jhu

Re: Automated code generator for db add/edit/delete/report?

2007-09-20 Thread Charlie Griefer
http://squidhead.riaforge.org/ On 9/20/07, Gaulin, Mark <[EMAIL PROTECTED]> wrote: > Hi > Anybody know of a code generator for "scaffolding" derived from a > database table (or query)? Ruby on rails has a cool feature like this > and I was wondering if anyone attempted this with CF. We'd be happ

Re: CFML in a string

2007-09-20 Thread Charlie Griefer
#str# On 9/20/07, Michael Beins <[EMAIL PROTECTED]> wrote: > If you had display=""Test"">"> If you just put a > #str# the menu is not generated but when you look at > the source code of the web page, the menu code is in it as name=""test"">. > > > How would you out put that and have

Re: Scope Question

2007-09-19 Thread Charlie Griefer
hey, it was early. i wasn't caffeinated yet :P On 9/19/07, Billy Cox <[EMAIL PROTECTED]> wrote: > Yes, that is WAY cooler than looking at cgi.query_string. :) > > -Original Message----- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September

Re: date and ms sql

2007-09-19 Thread Charlie Griefer
assuming the column accepts NULL values (and if not, you'll need to set it so that it does)... use the following value in your SQL: myDatabaseDate = On 9/19/07, Chad Gray <[EMAIL PROTECTED]> wrote: > I have a form that asks for a date. > > If no date is entered into the form what gets inserted

Re: Scope Question

2007-09-19 Thread Charlie Griefer
On 9/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm using this very simple server side imagemap to send coordinates my > results script of where the user clicked on the image. My questions is how > can I extract the x and y coordinates once it's passed as ... > > http://www.doma

Re: How to insert a sql command into a sql command

2007-09-17 Thread Charlie Griefer
according to the error message, you're missing a closing quote after 'changeProduct' and '17-Sep-07'. are you sure those quotes are in your code? On 9/17/07, Richard Colman <[EMAIL PROTECTED]> wrote: > I want to log the sql text of various queries into a log table. > > When I try: > > > > > ins

Re: Javascript Book

2007-09-17 Thread Charlie Griefer
i'll second the JavaScript Bible by Danny Goodman. Awesome book. You'll learn from it and you'll keep it for reference. On 9/17/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Monday 17 Sep 2007, [EMAIL PROTECTED] wrote: > > Hi does anyone know of a good javascript book > > The 'JavaScript bib

Re: XHTML Style CF?

2007-09-12 Thread Charlie Griefer
it's not at all necessary. just a personal preference thing. i do it because i like to keep consistent in my code. but i recognize that functionally, it serves no purpose whatsoever :) On 9/12/07, Robert Harrison <[EMAIL PROTECTED]> wrote: > I've noticed some other programmers are now using a c

Re: remove a number from a series of numbers

2007-09-12 Thread Charlie Griefer
is there a particular criteria that you're looking for? e.g. duplicate consecutive numbers? the 2nd digit? the 3rd digit? On 9/12/07, John P <[EMAIL PROTECTED]> wrote: > Hi, > > Is it possible to remove a digit from a multi-digit number IE: > 2007 would become 207? > > Thanks, > > John > > > >

Re: List of Coldfusion Bloggers

2007-09-07 Thread Charlie Griefer
would http://www.coldfusionbloggers.org/ be too obvious? :) i also usually hit http://weblogs.macromedia.com/mxna/ and http://www.fullasagoog.com/ a few times a day. On 9/7/07, Ali Majdzadeh <[EMAIL PROTECTED]> wrote: > Hi everybody: > Does anyone has a list of CF Bloggers? I learnt lots of thing

Re: how to end a session

2007-08-28 Thread Charlie Griefer
he's not using cookies tho... On 8/28/07, Andrew Scott <[EMAIL PROTECTED]> wrote: > The best method is > > > > > > > > > > > > > On 8/29/07, Brad Wood <[EMAIL PROTECTED]> wrote: > > > > You could use the window onbeforeunload event to make an Ajax call back > > to the server to notify your a

Re: Return File Extension

2007-08-27 Thread Charlie Griefer
listLast(filenameVar, '.') On 8/27/07, Robert Harrison <[EMAIL PROTECTED]> wrote: > Using CF, how do I get just the file extension from a file name? > > > > Thanks > > > > > > > > Robert B. Harrison > Director of Interactive services > Austin & Williams > 125 Kennedy Drive, Suite 100 Hauppauge NY

Re: Model Glue

2007-08-24 Thread Charlie Griefer
there's a web site. with forums. and a mailing list. http://model-glue.com/ http://model-glue.com/forums/ http://groups.google.com/group/model-glue altho the forums aren't looking too terribly popular :) On 8/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Since I know we have a few Mode

Re: Passing List of Number to Query, I forget

2007-08-24 Thread Charlie Griefer
ooh that's better than mine. cfqueryparam for the win. On 8/24/07, Aaron Rouse <[EMAIL PROTECTED]> wrote: > Assuming zip in the database is number field then it should work without the > single quotes around the variable. I would use a cfqueryparam though: > > WHERE ZIP IN ( cfsqltype="cf_sql_nu

Re: Passing List of Number to Query, I forget

2007-08-24 Thread Charlie Griefer
WHERE zip IN (#listQualify(returnedZips, "'")#) that second argument of listQualify is a single quote enclosed by double quotes. On 8/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I forget how to do this. ReturnedZIPs is a variable with comma delimted zip > codes. > I tried valuelist and

Re: replace carriage returns

2007-08-24 Thread Charlie Griefer
If you go that route, I'd offer up the suggestion of cleaning up the extra # signs a bit. ","all") /> just makes it a bit more readable (IMO). and also God kills a kitty every time you overuse pound signs :) FWIW, regarding the quotes... instead of the nested rereplace, you could just use HTMLE

Re: replace carraige returns

2007-08-24 Thread Charlie Griefer
#replace(myTextAreaText, '#chr(13)&chr(10)#', '', 'all')# On 8/24/07, Matthew Smith <[EMAIL PROTECTED]> wrote: > How would I replace the carriage returns in a textarea entry with ? > > > > ~| ColdFusion 8 - Build next generation

Re: Explode a string to single values

2007-08-23 Thread Charlie Griefer
it's not an array at this point (all you've done is looped over the list and output each of it's elements), so you can't. as i said earlier (it may not have made it to the list yet... ) now you have an array #myArray[3]# On 8/23/07, nicolai bass dh <[EMAIL PROTECTED]> wrote: > Hi Randy, > >

Re: Explode a string to single values

2007-08-23 Thread Charlie Griefer
On 8/23/07, nicolai bass dh <[EMAIL PROTECTED]> wrote: > Hi, > > i´m a CF newbie and i have a question: > > I want to explode a variable into the single values. For example: > > I want to known the single values, seperated by "," and want to place them in > an array. > > I know the PHP functio

Re: CFIF Pissing me off

2007-08-21 Thread Charlie Griefer
On 8/21/07, Claude Schneegans <[EMAIL PROTECTED]> wrote: > The problem is not with CFIF but with your HTML. > The SELECTED attribute in a SELECT takes no value: > it does in XHTML. selected="selected" is valid XHTML. the shorthand "selected

Re: CF8

2007-08-16 Thread Charlie Griefer
address at any given time that seems to say that you can't use Developer for a machine with multiple developers. -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they

Re: CF8

2007-08-16 Thread Charlie Griefer
On 8/16/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > On 8/16/07, Dave Watts <[EMAIL PROTECTED]> wrote: > > > > my googling for proof goes on... i'll be back :) > > > > > > ...and back. > > > > > > http://www.adobe

Re: CF8

2007-08-16 Thread Charlie Griefer
me when I asked about using the developer edition on dev and staging servers. In short, the answer was 'no'. If you (and by 'you' i mean anybody still following along) are truly interested in whether or not this is a license violation, and the link I provided doesn't sta

Re: CF8

2007-08-16 Thread Charlie Griefer
On 8/15/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > my googling for proof goes on... i'll be back :) ...and back. http://www.adobe.com/products/eula/server/ (h) You shall not (A) use the Developer Version for any application deployment in a live or stand-by producti

Re: CF8

2007-08-15 Thread Charlie Griefer
not worried about load testing), i still believe it's a violation of the license to have it on a dev or stg server. my googling for proof goes on... i'll be back :) -- Charlie Griefer "...All the world shall be your enemy, Prince

Re: CF8

2007-08-15 Thread Charlie Griefer
t meant to be on *any* server (and of course, here the definition of "server" comes heavily into play). -- Charlie Griefer "...All the world shall be your enemy, Prince with a Thousand Enemies, and whenever they catch you, they will

Re: CF8

2007-08-15 Thread Charlie Griefer
.com/2007/07/30/coldfusion-a-la-carte/ that's the best i could do for now. On 8/15/07, Charlie Griefer <[EMAIL PROTECTED]> wrote: > I may be incorrect here (and/or maybe it's changed), but I remember > wanting to set up that exact environment at a previous job, and was > told th

Re: CF8

2007-08-15 Thread Charlie Griefer
spot.com > > > -Original Message- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Thursday, 16 August 2007 8:33 AM > To: CF-Talk > Subject: Re: CF8 > > I'm pretty sure that using the developer version on dev and stg > servers isn't... hrm..

Re: CF8

2007-08-15 Thread Charlie Griefer
I'm pretty sure that using the developer version on dev and stg servers isn't... hrm... well, in accordance with the licenses :) On 8/15/07, Dale Fraser <[EMAIL PROTECTED]> wrote: > We use developer version in the office, on a Development and Staging server, > then the real licence on production.

Re: strip all non-numeric characters from a string

2007-08-14 Thread Charlie Griefer
On 8/14/07, Matthew Smith <[EMAIL PROTECTED]> wrote: > We are having an issue with users entering their phone numbers and credit > card info. How would I strip a string of all non-numeric characters. I'm > sure it involves rereplace() but I'm no good with regular expressions. > Thanks for a

Re: Need CF Studio 5

2007-08-14 Thread Charlie Griefer
at the risk of starting the IDE holy flame war... why not just use Eclipse and CFEclipse? :) On 8/14/07, Dae <[EMAIL PROTECTED]> wrote: > Can anyone help? We decom'd a server that had our copy of ColdFusion Studio > on it and now need it. Being that it's so old, we lost the disk years ago. > > A

Re: SOT: SQL Express

2007-08-13 Thread Charlie Griefer
http://carehart.org/blog/client/index.cfm/2006/7/8/sql2k5_Error_establishing_socket On 8/13/07, Orlini, Robert <[EMAIL PROTECTED]> wrote: > I have SQL Express installed and am having connection problesm when verifying > the datasource. The CF erro is "...failed for datasource...error extablishing

Re: (CF8) Compressing the Ajax libraries

2007-08-09 Thread Charlie Griefer
http://www.reybango.com/index.cfm/2007/6/6/CF8-Ajax-Quick-Tip-for-Shrinking-the-Page-Size ? On 8/9/07, Michael Dinowitz <[EMAIL PROTECTED]> wrote: > I was looking over the libraries for things like cfmenu and a standard > usage of the tag loads something like 200k of javascript. Not > something I

Re: Problem Outputting Dynamic Variable from a Query

2007-08-09 Thread Charlie Griefer
Rate1[Time1][n] where 'n' is the row number. if you're in a query driven , you can use the 'currentrow' variable for 'n'. On 8/9/07, Zach Firestone <[EMAIL PROTECTED]> wrote: > Hey, > > I am trying to output a dynamic variable within a ColdFusion query and have > hit a wall. I'm creating a golf

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