Title: Notification types and commands Post by: dbasch on January 14, 2009, 10:11:47 Hi all and Cliff,
I often need to have a command execute against specific mediators. Is it incorrect to use notification typing in a command? public class AddAssetCommand extends SimpleCommand implements ICommand { Title: Re: Notification types and commands Post by: puremvc on January 16, 2009, 06:53:22 mapItem isn't typed here, so I don't know what it is, but there is nothing wrong with using the type field as a discriminator so that only one of the notified Mediators will respond.
-=Cliff> Title: Re: Notification types and commands Post by: dbasch on January 16, 2009, 09:52:34 mapItem isn't typed here, so I don't know what it is, but there is nothing wrong with using the type field as a discriminator so that only one of the notified Mediators will respond. Thanks Cliff! Derek Basch |