Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

CFTL - ColdFusion Tag Library
Project Home Blog Forums Known Issues Contact Project

Author: Johnny Le (All RIAForge projects by this author)
Last Updated: January 31, 2007 10:19 PM
Version: 0.0.3-dev
Views: 32,452
Downloads: 625
License: Apache License, Version 2

Description:

Creating a lightweight ColdFusion Tag Library like Webwork's tag library for Fusebox framework. The library is created for CFMX 7. We are making effort to make it work in non-framework environment as well.

The goal of this project is to limit human-errors, maintain consistency, shorten development time, and take care of various mundane activities when developing UI. It does nothing more than what an average developer cannot do himself. All it does is to make your UI development a lot faster.

The two areas we focus on are forms and tables. The two things we try to eliminate are # signs and cfparams. We have written a little bit of documentation at http://johnny04.googlepages.com/why.html

It looks something like this:

<ui:form legend='Manage Account' name='save'>
<ui:hidden name='qryAccount.id' default='0'/>
<ui:input name='qryAccount.first_name'/>
<ui:input name='qryAccount.last_name'/>
<ui:input name='qryAccount.email' label='Email Address'/>
<ui:select table='state' value='state_cd' option='state_nm' checkValue='qryAccount.state_cd'/>
</ui:form>

You may have noticed that there are no # signs in the form. Check out the documentation to see how extremely flexible it is. You can specify most of the attributes at application level. Here is the code the little form above would generate:

<form name="save" action="index.cfm?do=[circuit].save" method="post" style="margin:0px" id="save">
<fieldset><legend class="legend">Manage Account</legend>
<input type="hidden" name="id" id="id" value="0"/>
<label for="first_name" class="label">first name:</label>
<input type="text" id="first_name" name="first_name" value="" maxlength="64"/><br/>
<label for="last_name" class="label">last name:</label>
<input type="text" id="last_name" name="last_name" value="" maxlength="64"/><br/>
<label for="email" class="label">Email Address:</label>
<input type="text" maxlength="64" name="email" id="email" value=""/><br/>
<label for="state" class="label">state:</label>
<select name="state" id="state">
   <option value="DC">District of Columbia</option>
   <option value="MD">Maryland</option>
   <option value="NM">New Mexico</option>
   <option value="NY">New York</option>
   <option value="VA">Virginia</option>
</select>
<br/>
<div id="form-buttons" style="margin-top: 12px">
<button type="submit">Save</button>
<button type="reset">Reset</button>
<button type="button" onclick="window.location='index.cfm'">Cancel</button>
<noscript><a href="index.cfm">Cancel</a></noscript>
</div>
</fieldset>
</form>

We are looking forward to have more community involved over time.

Recent Blog Entries:

1/3/07 CFC Based
12/21/06 Adding features
12/13/06 Changing direction
12/11/06 We need your help!
12/10/06 Documentation

Requirements:

CFMX 7

If more people request, we will try to make it work in CFMX 6 as well.

Fusebox 4.1 is the prefer framework to use it in at this time.

Issue Tracker:

There are no issues for this project.

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

Subversion Access:

You may access this project's Subversion repository with your client here: http://svn.riaforge.org/cftl.

To view files and changelists associated with this repository, go here: http://cftl.riaforge.org/index.cfm?event=page.svnbrowse.

You may download the latest set of files from Subversion as a zip file.

Anonymous users have read access to the repository while the administrator has write access.

This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/