Login

    Register

This is to notify all, that we will be decommissioning http://riaforge.org/ ("Site") soon. This decision has been taken due to business reasons. If you are interested in reviewing or downloading any project or files available at Site, please do so, by April 16, 2019, 12 noon PST , as per license terms associated therewith. Past that, you will not be able to access the projects or files.Should you have any concerns/suggestions/query, feel free to Contact Us.
Managed Hosting

PROJECT CATEGORIES

 

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,493
Downloads: 704
License: Apache License, Version 2

Description:

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">
<cf_layout>

(some content here)

<cf_layout>

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

Recent Blog Entries:

Requirements:

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.


This is to notify all, that we will be decommissioning http://riaforge.org/ ("Site") soon. This decision has been taken due to business reasons. If you are interested in reviewing or downloading any project or files available at Site, please do so, by April 16, 2019, 12 noon PST , as per license terms associated therewith. Past that, you will not be able to access the projects or files.Should you have any concerns/suggestions/query, feel free to Contact Us.