I set it up so that this second Application.cfc extends the root 
Application.cfc by using the dot-notation mapping to the root Application - 
like extends="SharedSites.Site1.Application". In this file's onRequestStart 
function, I try and access the request scope variables set in the parent 
Application.cfc. I am getting errors saying these variables have not been set.


That's not the way extension/inheritance works.  When you created the new 
onRequestStart function in the child Application.cfc it replaced the one in the 
parent Application.cfc.  To "run" the parents application.cfc you need to use 
CF's version of the super scope inside of the child.  I think this would be 
super.onReqestStart() in side the child's onRequestStart, but I am not sure.




--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:259531
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to