Wait... "there is no application scope without an application tag" I hear 
you say....

(I haven't tried this, but bear with me....)

You can actually have two cfapplication tags on the one page.  Have a 
simple cfapplication with only the application name at the top... then 
check if xml config is loaded, and do so if not, and THEN the application 
tag with the relevant config settings...

I'm pretty sure you can do this, because (in order to run legacy apps and 
hide them from the main app), we use a custom tag to switch apps mid-page 
and interact with the "other" app.

It can get a bit messy, but saved a lot of code rewrites (for a while at 
least).



Vaughan.


----- Forwarded by Vaughan Allan/Morgans/AU on 09/06/2005 04:06 PM -----

Vaughan Allan/Morgans/AU wrote on 09/06/2005 04:15:34 PM:

> > bit worried about the overhead of reading the config.xml everytime 
> > the Application.cfm is run, though...

> 
> So code it to store the xml object in app scope, and only do so if 
> it's not already defined - typical "read-once" app config...
> 
> Vaughan.


To unsubscribe from this email please forward this email to [EMAIL PROTECTED] 

This email message is confidential and may be privileged. Unauthorised use, 
copying or distribution of any part of this email
including attachments is prohibited.  If you are not the intended recipient 
please forward the email to [EMAIL PROTECTED]
and delete the original. 

ABN AMRO Morgans Limited and its associates hold or may hold securities in the 
companies/trusts mentioned herein.  Any general
advice included in this email has been prepared without taking into account 
your objectives, financial situation or needs.  Before
acting on the advice, you should consider its appropriateness or discuss with 
one of our investment advisors.

To the extent permitted by law we exclude (and where the law does not permit an 
exclusion, limit to the extent permitted by law) all
liability for any direct, indirect and consequential costs, losses, damages and 
expenses incurred in any way (including but not limited
to that arising from negligence), connected with any use or access to this 
email or any reliance on information contained in this email
or any attachments.

ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A Participant of ASX 
Group  A Principal Member of the
Financial Planning Association


---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to