Hi

I'm trying to set-up an application using the environment properties.
My understanding is that you should use this 'scope' instead of
application variables to store environment specific variables.

My problem is, that when an error occurs, eg. the user enters an
invalid event or the like.  the page runs my exception handling which
calls a header which has an environment specific variable included in
it in the view.

Coldfusion then complains to say that the Variable GETPROPERTY is
undefined.  I realise the method is not available until
loadFramework() has been called.

My code is:

<cfset variables.staticSite = getProperty('staticSite') />

How should I get around this?

Thanks in advance,
Michael

-- 
To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to