Adrian, that got it working..

Thanks everyone !!!

Dump APPLICATION and see if UDFLib really is in the scope. If it is, check 
CapFirst is present also.
If it's not, restart the application with OnApplicationStart() in OnRequest in 
Application.cfc.
Adrian
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 06 August 2008 13:14
To: CF-Talk
Subject: Re: Using UDF's from within a CFC

So, I've added the library to the application scope as suggested, when I run 
this piece of code, "#application.udfLIB.CapFirst(dept)#" I get error stating 
"Element UDFLib is undefined in a Java object of type class [Ljava.lang.string]"
The CFC file itself appears in the Execution Time table in debug, so I'm 
assuming that the system can find the file..
Thanks
sas
--
Scott Stewart
ColdFusion Developer
http://www.sstwebworks.com/blog
--
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:310282
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