Back to this thread for a few moments...

>>Your DTO should have every setter using 'string' as the argument type,
because that's what every form variable is.  Your BO, on the other hand,
should have appropriate types.  For example, the DOB field would be of
type 'date'.  This quickly demonstrates the need for two-stage
validation, because the form field for DOB could happily contain
"tee-hee", which would cause the setter on the BO to fail (because it's
not a date).

Barney, would you equate the BO to a bean?

If not, how do the BO and bean fit into a methodology?  Can you type out
a flow to demonstrate the layers?

Thanks
M!ke
----------------------------------------------------------
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