The issue is that you're cflocating rather than cfincluding. It is
available, but you're bouncing away from that available information.
On Dec 6, 2007 12:28 PM, Richard White <[EMAIL PROTECTED]> wrote:
> hi,
>
> in my application.cfc i have the following code for any unexpected errors:
>
> <cffunction name="onError">
> <cfargument name="exception" required=true/>
> <cfargument name="EventName" type="String" required=true/>
>
> <!--- onError: When using the onError method, every single <cflocation>
> call will fire the event. Kind of a silly bug, but it didn't get found till
> too late. Christian Cantrell came up with a nice work around to place inside
> your onError: --->
> <cfif isdefined("arguments.exception.rootCause")>
> <cfif arguments.exception.rootCause eq "
> coldfusion.runtime.AbortException">
> <cfreturn/>
> </cfif>
> </cfif>
>
>
> <cflocation url="../Errors/E.2_SiteWideErrorHandlerUI.cfm">
> </cffunction>
>
>
> then in the file ../Errors/E.2_SiteWideErrorHandlerUI.cfm we are trying to
> access the error.message variable but it says that it is not defined.
>
> i have read on some other sites that i should be able to access this
> error. structure but i cant see where it is being created
>
> does anyone have any ideas why on my error page it cant access this error.
> structure and what i may be doing wrong, thanks
>
>
--
~Todd Rafferty
http://www.web-rat.com/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294334
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4