On 2/17/06, Jared Rypka-Hauer <[EMAIL PROTECTED]> wrote: > Is this a valid idea? > > <object name="person"> > <hasOne name="address" beforeSave="handleSave"> <!-- and thus for each of > the other 8 events --> > <relate from="addressId" to="personId" /> > </hasOne> > </object>
As per my email, you still have to associate the actual user record object and address record object at runtime (because you're calling save() on a specific user object and it needs to know which specific address object to call handleSave() on) but what you're suggesting is what roughly what I had in mind for the XML part. -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

