Great to see the event model added. I think that was the killer "USP"
(unique selling point) in Transfer so I'm glad Reactor has it too.
Although now I need to update my blasted presentation of course!
On 2/17/06, Doug Hughes <[EMAIL PROTECTED]> wrote:
> <cfset userRecord.attachDelegate("afterValidate", addressRecord,
> "handleValidate") />
I guess there's no way to specify this in a more static way? Perhaps
the XML could say that a user object delegates afterValidate to a
method handleValidate on an address object - so that at runtime all
you'd need to do is:
<cfset userRecord.associate("address",addressRecord) />
and associate() would call attachDelegate() appropriately for any
delegations described in the XML for "address" object. This would be a
win as use of the event model gets richer...
--
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/