I wrote my first custom tag and thought I'd share mostly because it is my
first tag and I'm excited by it!
http://devex.allaire.com/developer/gallery/info.cfm?id=786B5608-424D-11D5-83
F400508B94F380&method=full
This is a cold fusion custom tag that serves several functions. 
The first need it address is to act as a messaging system for a website. On
my projects I have been using it to display confirmation and error messages
when a user completes an action. This is accomplished completely with WDDX
and client variables. 
Next it fixes a problem with the cflocation function in cold fusion. You can
not set client variables if you use the cflocation tag. You can send a
REDIRECT variable to cf_messages and it will perform the redirect while
still allowing for you to set the client variables. 
Finally if you use a FuseBox style methodology chances are pretty good that
you will end up redirecting to the same url in your application at some
point. Netscape does not like this and will load a redirectloop error.
cf_messages resolves this by appending a random number to the url if the
browser is netscape. 

Thanks for listening,

Kevin Bridges


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to