Form Handling and Validation with ColdBox, ColdSpring, and Transfer (Part 3)
This post is a continuation of another post where I am discussing form handling and validation.
Please see part 2 before you read this post.
Now, and this is where things get interesting, I call the validate() method from the TransferObject "itemBean". What you say? validate() method? There is not validate() method in a TransferObject.
I used a Transfer decorator to add a validate() method to my itemBean. I also added a populate() method. Here, have a look:


