> No, normally you put the data into the bean and then validate it
(usually people have a validate() method on their bean).

I'm lost with what happens after the validate() is called.  Does
validate() return a boolean success value, or do you call another method
such as isValidated()?

I assume during the validation, you could instantiate an error-handling
CFC and store the list of errors.

However, if there are errors, why go to the trouble of storing the data
in a bean, then validate it when you could validate it before storing it
in the bean?  Is the bean where most of the validation logic should
exist?

Thanks
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at 
[EMAIL PROTECTED]

Reply via email to