When i use:

<cfset application.oCustomFunctions = createObject("component",
"#application.custompackagepath#.custom.POIUtility").init() />

Then the path goes to the project, i want it to go to straight to the
plugin, right now i done it like:

<cfset application.oCustomFunctions = createObject("component",
"farcry.plugins.wsoFarcryPolling.packages.custom.POIUtility").init() /
> (I need to use POIUtility else i get a error that it's not of type
POIUtility)

But now i get an error:

ColdFusion attempted looking in the tree of installed custom tags but
did not find a custom tag with this name. If you are using per-
application custom tag mappings, ensure that per-application settings
are enabled by the administrator. (this is enabled is checked)
Message         Cannot find CFML template for custom tag makequery.

So what am i doing wrong here?

On Nov 4, 11:27 pm, Marco van den Oever <[EMAIL PROTECTED]>
wrote:
> Ok thanks all for your time, i think i will stick to setting up a
> config/_serverSpecificVars.cfm file, smart to call the cfc
> customFunctions.cfc to maintain the same structure over and over
> again.
>
> Thanks :)
>
> On Nov 4, 11:21 pm, "AJ Mercer" <[EMAIL PROTECTED]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to