[Chandler-dev] In and Out collections

Brian Kirsch bkirsch at osafoundation.org
Mon Oct 9 14:15:46 PDT 2006


The issue is (pje correct me if I am wrong) that the observer would be 
on a list such as toAddress.

The toAddress like ccAddress is a schema.Sequence of EmailAddress 
objects. The value that needs to be observed is the emailAddress 
schema.Text attribute of an EmailAddress Kind.

So an observer on the toAddress list would need to both detect when a 
EmailAddress is added to or removed from the list as well as when the 
value of a EmailAddress.emailAddress in the list changes.

This as I understand it is beyond the scope of the current 
schema.observer API.

-Brian


Jeffrey Harris wrote:
> Hi Brian,
>
>   
>> I also looked in to using an observer on the toAddress, fromAddress, and
>> ccAddress of a MailStamp. But after conversations with pje it looks like
>> this is not a feasible option since the value that changes
>> EmailAddress.emailAddress is contained in these lists.
>>     
>
> I was about to suggest that you'd want to use an observer on these, but
> it looks like you've tried that.  I'm not quite following why this
> wouldn't work, though.  Why is it a problem that changes to toAddress
> etc. might change EmailAddress.emailAddress and also In/Out membership?
>
> Sincerely,
> Jeffrey
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "chandler-dev" mailing list
> http://lists.osafoundation.org/mailman/listinfo/chandler-dev
>   

-- 
Brian Kirsch 
Internationalization Architect / Mail Service Engineer
Open Source Applications Foundation
543 Howard Street 5th Floor
San Francisco, CA 94105
http://www.osafoundation.org



More information about the chandler-dev mailing list