remember you need to restart the application for it to work

-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Dale Fraser
Sent: Thursday, June 29, 2006 12:53 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Includes



Steve,

Adding the tr function into application.cfc doesn't work, can't access it as
application.tr

Chris,

Adding it and then doing the <cfset also didn't work.

Regards
Dale Fraser



-----Original Message-----
From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Chris Velevitch
Sent: Thursday, 29 June 2006 12:34 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Includes


On 6/29/06, Dale Fraser <[EMAIL PROTECTED]> wrote:
> We use application.cfc, so how can we include a function on every page
using
> application.cfc model?

Try:-

<cfset variables.tr = this.tr>

in the onRequest method of Application.cfc and have the function
included as a function in the Application.cfc


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to