![]() |
|
|
validatorCFC
Project Home • Blog • Forums • Known Issues • Contact Project
Author: Sean Coyne (All RIAForge projects by this author) Description:
This component validates the data in an object according to custom rules you set up. It is especially created to determine data validity for a data store (DBMS, etc) rather than for business rules, but you can set up your own complex rules. Some may be out of its scope, however.
I have included some sample rules that test various data types and common formats. Your object to be validated must have getters for each property in the format getFirstName() where FirstName is a property, and must use cfproperty tags in order to indicate which rules should apply for each property. (I would like to allow this to be specified using an XML config file or a config bean in the future) Inspired by this article: http://coldfusion.sys-con.com/read/370835.htm
Recent Blog Entries:
Requirements:
ColdFusion 7
A properly formed object to validate. Pre-built or custom rules. Issue Tracker:
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/validatorCFC. To view files and changelists associated with this repository, go here: http://validatorCFC.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/ |
||||||||||||||||||||||||||||||||||||||||||||
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.