Hey all, 

I've got a question that I can't seem to find a straight answer for...

Here's the scenario: I have an application that has cfincludes that call UDFs. 
It also calls function pages as includes. I've been given the task of 
refactoring this app, so that it makes all of the UDF and function calls 
through the use of CFC's and the appropriate object calls. This much I 
understand how to do.

I saw Ben Nadel's blog and he wrote about caching UDF libraries in the 
application scope, which makes them available application wide (duh :) ).

In my application.cfc I'm setting the following: this.udfLIB = 
createObject('component','cfc.udf').init();

The entire application.cfc is here http://cfm.pastebin.com/m1c3a1f03
the UDF.cfc file is here http://cfm.pastebin.com/m3586a7be

Now for the questions 
1) the entire UDF library should be available in the application scope, correct?
2) how do I access these, this "#application.udfLIB.CapFirst(dept)#" doesn't 
seem to work
--
Scott Stewart 
ColdFusion Developer 
http://www.sstwebworks.com/blog


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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