Title: [ FIXED ] IFacade has not notifyObservers() method Post by: whitered on March 10, 2008, 06:58:50 Porting my project from PureMVC 1.7.1 to PureMVC 2.0.1, i cannot leave code like that in my mediator:
facade.notifyObservers(new MyCustomNotification()) Instead of this, i must use casting to Facade type: Facade(facade).notifyObservers(new MyCustomNotification()) Title: Re: IFacade has not notifyObservers() method Post by: DEfusion on March 10, 2008, 12:44:24 I had the same issue here, thanks for the solution, but luckily the only one in an otherwise flawless upgrade.
Title: Re: IFacade has not notifyObservers() method Post by: puremvc on March 10, 2008, 01:23:54 It was removed from the interface when sendNotification was added, as an attempt to simplify the overall process of sending notifications.
For those who wish to create and send custom Notification classes though, this is a good workaround. We'll get notifyObservers back into the IFacade interface for 2.0.2. -=Cliff> Title: Re: IFacade has not notifyObservers() method Post by: puremvc on March 17, 2008, 06:28:51 This is fixed in 2.0.3.
-=Cliff> |