>So should the init function in the bean have
>if (StructKeyExists(arguments,'Foo')) {setLastName(arguments.Foo);}
>
>The problem I see then is the Update function would throw an error on getFoo
>because variables.Foo does not exist.Why call init() on a bean that represents an existing person? Just load() it from your DAO, update the fields you want to update, and then save it, again using the DAO. /t ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236600 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

