Best of Talk (05/26/04)

 
Jun 02, 2004
by Dina Hess

Title: Custom Tags On-The-Fly
Date: 05/26/04      (7 Posts)
Summary: Trying to access custom tags dynamically? Steer clear of the <CF_Tag> syntax; it's not doable. What you can do, though, is pass a custom tag name in a variable to CFMODULE.
 
Title: Does this Violate Good Form in Components?
Date: 05/26/04      (8 Posts)
Summary: Component functions becoming unwieldy? Although you can CFINCLUDE complete functions, it's unwise to CFINCLUDE function content since the unnamed scope is converted to the variables scope, effectively obliterating encapsulation. As a bonus, Bryan Hogan outlines his system for managing components.
 
Title: Page has Expired Message
Date: 05/26/04      (10 Posts)
Summary: Take a look at RFC 2616 and search for the HTTP 303 status code to find a "Page has Expired" workaround. The section about idempotent requests contains information about use of POST rather than GET to prevent a browser refresh.
Related: Preventing a REFRESH
 
Title: Self Variable
Date: 05/26/04      (14 Posts)
Summary: Need to find ColdFusion's equivalent of $PHP_SELF? Try CGI.SCRIPT_NAME.
 
Title: CFFILE
Date: 05/26/04      (32 Posts)
Summary: When using CFFILE's "upload" action, be sure the FORMFIELD attribute contains an unscoped field name and the DESTINATION is an absolute path. Otherwise, CFMX assumes the path is relative to the temporary directory. A brief discussion of full stops and use of ListLast() to return file extensions is also included.
 
Privacy | FAQ | Site Map | About | Guidelines | Contact | Advertising | What is ColdFusion?
House of Fusion | ColdFusion Jobs | Blog of Fusion | AHP Hosting