[Dev] Dispatching "send"?

Bryan Stearns stearns at osafoundation.org
Wed Dec 15 15:07:17 PST 2004


John,
I'm moving the email "Send" button from the detail view to the main
toolbar... I'm trying to figure out how best to (a) dispatch the event, and
(b) how to "ask" the detail view whether to enable the item.
 
Initially, I figured the detail view should handle the event, but there
isn't always a detail view around -- Donn had pointed out that you'd just
added SendToBlockByName, but it asserts that the block exists. I could
broadcast the event from the main view, but that wouldn't give me the
ability to delegate enabling/disabling of the item.
 
Can you suggest a better way to think about this?
 
Thanks,
...Bryan
 


More information about the Dev mailing list