> Well I really like the onApplicationStart/End handler, but we > have that worked out already using the structkeyexists > method. The main feature I'm looking to use at the moment is > onError, the cferror tag doesn't allow any real coldfusion > code to be ran on the error page and I'd like to have cfdumps > of all my scopes and the exception e- mailed to me.
The CFERROR tag does in fact allow you to do this. You simply have to specify TYPE="EXCEPTION" instead of TYPE="REQUEST". You can also use the site-wide error handler to run code. > Would it be possible to call the default onrequest method > somehow? I tried using super, but that did not work... I think that the problem is, in some cases you want an event handler for onRequest, and in other cases, you don't. The only way I know to do that is to have separate Application.cfc files, although those files can take advantage of inheritance generally. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
