Archive of:
Fusebox
Cold Fusion Fuse Box List
home
24 hour view
quick stats
weekly updates
all tallylists
corporate solutions
archive your favorite
help / feedback
About CF Fusebox Methods :
product's home
product's list home
|
|
Archived TallyList / Fusebox:
Subject: cf_messages
Kevin Bridges (25p/+0r) Posted: Thursday 10 May 2001 This post: 52 views, +0 rating
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/fusebox@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Similar Subject Line Posts (+/- two weeks of this post)
| Send a reply to the Fusebox list! |
 |
NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!) |
|