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 while. I have seen several MVC frameworks (MG,MII,CFoW) implement this before. I mean ideally you want to request a view that is based upon a master template that has includes. MG has a view collection and I think Fusebox adapted soemthing similar, but really on a smaller scale, what do you need? You really just need a way to include all of the portions of a master template or view and then dynamically bring them together in the correct order. I have been deciphering the design pattern for this in my off time. Teddy On 12/13/06, Peterson, Chris <[EMAIL PROTECTED]> wrote: > > As a side note, having a render method invoke itself with the same > default variables does not send Coldfusion into the tailspin of a > recursive loop I thought it would, they must have some sanity check on > that. But it sure 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, 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 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 with a different argument! > > > -- > ======================================================================== > === > Raymond Camden > > Email : [EMAIL PROTECTED] > Blog : ray.camdenfamily.com > AOL IM : cfjedimaster > > Video game player? Have kids? Check out KidGamers.org > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263939 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4