Re: Cool thing about CFC's

2006-12-13 Thread Jon Clausen
It's also handy for file ops as well. Here's an example of a recursive delete for CFMX6 since it doesn't support the 'recurse="true"' attribute like CFMX7 (the other functions it references are in a cf6.cfc that I use): On Dec 13, 2006, a

RE: Cool thing about CFC's

2006-12-13 Thread Kevin Roche
Teddy, I am part way through writing somthing like this. Want to share? Kevin -Original Message- From: Teddy Payne [mailto:[EMAIL PROTECTED] Sent: 13 December 2006 15:14 To: CF-Talk Subject: Re: Cool thing about CFC's I have been contemplating how to create one of these for a

Re: Cool thing about CFC's

2006-12-13 Thread Teddy Payne
did tick off firefox when it sent back TONs of html! > =) > > Chris > > -Original Message- > From: Raymond Camden [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 13, 2006 9:40 AM > To: CF-Talk > Subject: Re: Cool thing about CFC's > > FYI, re

Re: Cool thing about CFC's

2006-12-13 Thread Christopher Jordan
That's cool, Chris! It's a recursive function (a function that calls itself). I'd be interested in seeing you code. Do you mind posting it? Cheers, Chris Peterson, Chris wrote: > I was writing a render() function to return html, and I wanted an easy > way to separate div content so that I can us

Re: Cool thing about CFC's

2006-12-13 Thread Christopher Jordan
That cool, Chris! It's a recursive function (a function that calls itself). I'd be interested in seeing you code. Do you mind posting it? Cheers, Chris Peterson, Chris wrote: > I was writing a render() function to return html, and I wanted an easy > way to separate div content so that I can use

RE: Cool thing about CFC's

2006-12-13 Thread Peterson, Chris
-Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 9:40 AM To: CF-Talk Subject: Re: Cool thing about CFC's FYI, render is a reserved word in BlueDragon. I ran into that when working w/ BlogCFC. On 12/13/06, Peterson, Chris <[EMAIL PROTECTED

Re: Cool thing about CFC's

2006-12-13 Thread Raymond Camden
FYI, render is a reserved word in BlueDragon. I ran into that when working w/ BlogCFC. On 12/13/06, Peterson, Chris <[EMAIL PROTECTED]> wrote: > I was writing a render() function to return html, and I wanted an easy > way to separate div content so that I can use xmlHTTP to refresh an > individual

Cool thing about CFC's

2006-12-13 Thread Peterson, Chris
I was writing a render() function to return html, and I wanted an easy way to separate div content so that I can use xmlHTTP to refresh an individual div after doing an action with my data. So, I can invoke render() with its default config, then INSIDE of the render() function, I can invoke itself