and if you really want to go to town, this is where I load up my external
components using ColdSpring.
On Wed, Nov 5, 2008 at 7:17 AM, Jeff Coughlin <[EMAIL PROTECTED]> wrote:
>
> Marco,
>
> > Hi thanks for your reply, it's not a deployable object, it's simply
> > a .cfc with functions i want to use.
>
>
> In pretty much every FarCry application I write I have a similar
> custom CFC with non-farcry functions (I call it customFunctions.cfc).
> To work with this I set the following line in each project's config/
> _serverSpecificVars.cfm file:
>
> <cfset application.oCustomFunctions = createObject("component",
> "#application.custompackagepath#.custom.customFunctions").init() />
>
> Then when I need to refer to it (to run a function), I just refer to
> the object variable like so:
>
> <cfdump var="#application.oCustomFunctions.myMethod(var=value)#" />
>
> Note:
> * If you're not using an init() method, just remove that from the
> cfset example.
> * If using a plugin, you have to specify the full path from the farcry
> mapping.
>
> Regards,
>
> --
> Jeff Coughlin
> Web Application Developer
> http://jeffcoughlin.com
>
> >
>
--
AJ Mercer
Web Log: http://webonix.net
Once you come to the realisation that everyone is crazy,
You will never be surprised or disappointed ever again.
AJM 2008
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---