Numeric attributes default to 0, all other simple values default to "" including dates.
-----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 17, 2006 3:51 PM To: CF-Talk Subject: RE: OOD/Design Patterns and ColdFusion. I'm building my bean. Created section for the default values modeled on Matt's person/address example. Any concerns on what the default values actually are? Since CF does not have the null. What about a default date for a date parameter or a default Boolean of that type of parameter? What bout zero for a numeric property of zero is a legitimate value for the parameter of this type of object? See how quickly I can come up with mind boogoling concerns! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240824 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54