Managed Hosting



Layout Components
Project Home Blog Forums Wiki Known Issues External Project Link Contact Project

Author: Steve Bryant (All RIAForge projects by this author)
Last Updated: February 15, 2010 9:54 PM
Version: 1.0 RC1
Views: 23,180
Downloads: 694
License: Apache License, Version 2


Layout Components were created to make developing and managing site layouts easy. Namely, they should solve these goals (from a 2005 CFDJ article):

* Make edits to the layout in one place
* Easily switch layouts (per page, section, etc.)
* Switch to non-HTML formats (PDF, Word, etc.)
* Use any ColdFusion tags (like cfflush)
* Do without mappings and relative paths
* Add HTML to the <head>
* See all of the layout in one file
* Avoid passing all page calls through one file (like index.cfm)

The following goals should also have been included:

* Use the same layout on multiple pages or have some pages use different layouts.
* Do without a layout on some pages.

Layout Components have been enhanced slightly in the years since that article, but remain fundamentally the same today (this is being written in early 2010).

Here is a sample page using Layout Components (with the optional cf_layout tag):
<cf_layout title="Page Title">

(some content here)


The rest of the documentation should make clear how Layout Components meet all of the goals above.

Recent Blog Entries:


ColdFusion MX 6.1 or better

Issue Tracker:

There are no issues for this project.

To enter issues for this (or any other) project, you must be logged in.