Community Member Profile

Jeff Chastain
Member since Dec 11, 2008

Recent Blog Comments By Jeff Chastain

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 12, 2008 at 3:36 PM

    @Ben - In the XML definition for Validat where you define which rules (assertions) should be applied to which fields (dataElements), thee is a property there called message. That message property can contain either plain english text or in most cases, I will have it return a resource bundl... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 12, 2008 at 3:19 PM

    @Ben - In some cases I can see beans being as "dumb" as you mentioned with only basic getter/setter methods. But if you did not have the bean object, where would functionality like "getAge()" go when a Person only has a birthdate? Beans can have a lot more functionality to them and I... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 12, 2008 at 11:55 AM

    @RyamTJ: Validat works exactly the same way ... it is really synonymous to your individual validation beans except with Validat you can setup different validation configurations for different states that a bean might be in. Then, when it comes time to validate data, you can pass either the dirt... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 9, 2008 at 5:35 PM

    @CoolJJ This is where the concept of having a seperate validation engine really starts to look good. With the validation engine, you can have multiple sets of rules for data based upon a given state or any other reason. Then, you can pass the bean or the collection of data to the validati... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 9, 2008 at 4:58 PM

    @Ben, There are a series of blog postings that were done on the Alagad blog describing the functionality and capabilities of Validat ( http://www.alagad.com/go/blog?categoryId=8F6F9CEA-3048... read more »

  • Object Oriented Data Validation And Error Message Translation

    Posted on May 9, 2008 at 4:28 PM

    Whenever you talk about validation in an object oriented world, the question comes up as to whether you should be stuffing potentially invalid data into a bean and then validating it, or validating the data, then stuffing it into the bean. It is a small bit of overhead, but if you validate the d... read more »

Member Account Kinky Solutions Shop
  • Help Wanted - Find Your Next ColdFusion Job
InVision App - Prototyping Made Beautiful With Prototyping Tools