Oblio,

Using CFInclude should actually provie proper THIS / VARIABLES scope to
which ever CFC does the including. THIS and VARIABLES binding is done at
run time and will actually be accurate if two CFC SHARE the same
function pointer. Do you actually get an error from using CFInclude or
were just assuming this would not work (or am I just not understanding
what you meant)? 


......................
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/

-----Original Message-----
From: Leitch, Oblio [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 19, 2007 3:31 PM
To: CF-Talk
Subject: "including" functions

Is there a good way to create component libraries?  I'm finding that I'm
creating components with *lots* of functions in them.  I'd like to be
able to create one file per function and "include" them when the
component is instantiated.  The <cfimport> is nice, but it's designed
for 'custom tags', not functions.  And, using <cfinclude> doesn't
provide proper scope access to local (var) variables.  Any thoughts?


This email message may contain privileged and/or confidential
information. If you are not the intended recipient(s), you are hereby
notified that any dissemination, distribution, or copying of this email
message is strictly prohibited. If you have received this message in
error, please immediately notify the sender and delete this email
message from your computer.

CAUTION: The Agency of Human Services cannot ensure the confidentiality
or security of email transmissions.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273028
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to