> They do not realize that they should run the validate method
The validate method for each attribute would be an internal method, not
invoked from the caller page.
<cffunction name="setSerialNumber" ...>
   <cfargument name="serialNumber" type="number" ...>

   // Validate argument type
   // Validate argument data
   // Set attribute to argument value
   //   or
   // Throw validation error
</cffunction>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240797
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to