We use CFC's to _return_ UI elements. In other words, we don't use output="true" but we do use CFC's to return data that generates output. For example, we have a "contentserver" CFC. This CFC returns images and files that are outside of the webroot. We also have a template CFC for one specific template that gets used over and over from both the secure and non-secure sides of our server.
----- Original Message ----- From: "Michael Dinowitz" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Thursday, March 03, 2005 11:09 AM Subject: RE: (OO) UI in CFCs > Personally, I don't see a reason not to have a separate CFC just for UI > elements that go on a page. Basically, you have a page which calls a BL > (business logic) CFC for logic and a UI (user interface) CFC for specific > UI > elements that go on the page with the business logic. > Take an average blog for example. Most have a calendar on the side. Why is > this not inside a blogui.cfc file with other specific UI elements that are > re-used. Yes, a custom tag can be built for each of the UI elements but on > an average blog, there are 4 or 5 different small side elements. A single > location for all of them would make sense rather than 4 or 5 different > modules. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197305 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

