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!  

So, I have a case statement to look at what 'view' to output, and it has
its default (the main screen), and then it has one named for each named
div on the screen, and they just call back to itself again, and it
works!   Most of you have probably done this before, but I thought it
was pretty neat that a function in a CFC can call itself from within
itself =)

Chris

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:263919
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to