Jonathon Stierman wrote:
> Is it possible to programmatically add/update functions to an instantiated
> CFC?

<cffunction name="getX">
        <cfreturn variables.X>
</cffunction>

<cfcomponent name="superSecret">
        <cfset variables.key = "x">
</cfcomponent>

<cfset obj = CreateObject("component", "superSecret")>
<cfset obj.getX = getX>
<cfset obj.getX()>


Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291776
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