Please note, new blog at http://www.acheron.org/darryl/

Utility methods with application.cfc (updated)

I was mucking around with the application.cfc the other day, and I found the following to be true. If you use the onRequest method, and CFINCLUDE the target page, every method you define within the application.cfc will be copied into the variables scope of the included template. This feature of course has been around for ages (reintroduced with one of the MX updaters I believe). Just recently, Sean Corfield posted a link on the CFCDEV list to the LiveDocs, which explained it in more detail:
If your Application.cfc implements the onRequest method, any utility functions that you define in Application.cfc are also directly available in to the target page, because Application.cfc and the target page share the Variables scope. If your application requires utility functions that are used by multiple pages, not just by the methods in Application.cfc, and you do not use an onRequest method, Macromedia recommends that you put them in a separate CFC and access them by invoking that CFC. As with other ColdFusion pages, Application.cfc can access any CFC in a directory path that is configured on the ColdFusion MX Administrator Mappings page. You can, therefore, use this technique to share utility functions across applications....

By Blogger tweedledeetweedledum, at 10/01/2005 10:45:00 pm  

This blog is awesome! If you get a chance you may want to visit this software and tool site, it's pretty awesome too!



By Blogger Steve Austin, at 10/03/2005 02:10:00 am  

Informative blog. I have a internet java mastering script xhtml blog.



By Blogger milf, at 11/20/2008 06:03:00 am  

black mold exposureblack mold symptoms of exposurewrought iron garden gatesiron garden gates find them herefine thin hair hairstylessearch hair styles for fine thin hairnight vision binocularsbuy night vision binocularslipitor reactionslipitor allergic reactionsluxury beach resort in the philippines

afordable beach resorts in the philippineshomeopathy for eczema.baby eczema.save big with great mineral makeup bargainsmineral makeup wholesalersprodam iphone Apple prodam iphone prahacect iphone manualmanual for P 168 iphonefero 52 binocularsnight vision Fero 52 binocularsThe best night vision binoculars here

night vision binoculars bargainsfree photo albums computer programsfree software to make photo albumsfree tax formsprintable tax forms for free craftmatic air bedcraftmatic air bed adjustable info hereboyd air bedboyd night air bed lowest pricefind air beds in wisconsinbest air beds in wisconsincloud air beds

best cloud inflatable air bedssealy air beds portableportables air bedsrv luggage racksaluminum made rv luggage racksair bed raisedbest form raised air bedsaircraft support equipmentsbest support equipments for aircraftsbed air informercialsbest informercials bed airmattress sized air beds

bestair bed mattress antique doorknobsantique doorknob identification tipsdvd player troubleshootingtroubleshooting with the dvd playerflat panel television lcd vs plasmaflat panel lcd television versus plasma pic the bestThe causes of economic recessionwhat are the causes of economic recessionadjustable bed air foam The best bed air foam

hoof prints antique equestrian printsantique hoof prints equestrian printsBuy air bedadjustablebuy the best adjustable air bedsair beds canadian storesCanadian stores for air beds

migraine causemigraine treatments floridaflorida headache clinicdrying dessicantair drying dessicantdessicant air dryerpediatric asthmaasthma specialistasthma children specialistcarpet cleaning dallas txcarpet cleaners dallascarpet cleaning dallas

vero beach vacationvero beach vacationsbeach vacation homes veroms beach vacationsms beach vacationms beach condosmaui beach vacationmaui beach vacationsmaui beach clubbeach vacationsyour beach vacationscheap beach vacations

bob hairstylebob haircutsbob layeredpob hairstylebobbedclassic bobCare for Curly HairTips for Curly Haircurly hair12r 22.5 best pricetires truck bustires 12r 22.5

washington new housenew house houstonnew house san antonionew house venturanew houston house houston house txstains removal dyestains removal clothesstains removalteeth whiteningteeth whiteningbright teeth

jennifer grey nosejennifer nose jobscalebrities nose jobsWomen with Big NosesWomen hairstylesBig Nose Women, hairstyles



By Blogger longge, at 6/24/2010 05:53:00 pm  

The haversack of a Louis vuitton bags
. As for louis vuitton handbags
, the designers accept their own cast value, even for their lv
. louis vuitton
is so abiding and accept able ability for water-proof and fire-proof.



By Blogger shoppingugg, at 7/01/2010 03:31:00 pm  

The article above talked about learning to play with a piano lessons HIGHLANDER and 3 things to expect from this type of piano HIGHLANDER DVD . You will get crisp audio and video guides that make HIGHLANDER DVD COLLECTION easy to watch and re-watch techniques and the exact way to play parts of songs, you'll learn theory with some fun games that take the boring side away from the mathematical side of piano and have the opportunity to learn multiple genres so you can practice exactly what it is you want to learn.


With vivid designs following classical traditions, Tiffany are really attractive in Tiffany bracelets world. And now, go there together and enjoy some of them. The thick bracelets with bone-looking shape, made of silver, can bring about some special feeling for the wearer. silver bracelets formed by pink crystal pearls really makes gentle beauty with romance. Tiffany accessories is the very one for pretty girls with fascinating dreams for true love.



By Blogger hibeyond, at 8/16/2011 05:41:00 pm  

black boots

Chocolate boots

sand boots

Chestnut boots

gray boots

pink boots

grey boots
pink boots on sale


Black Ugg Boots

Chestnut Ugg

Boots


Chocolate Ugg

Boots


Grey Ugg Boots

Ugg Boots On Sale



» Post a Comment

Trackbacks:

» Create a Link