You can use composition to acquire the functionality of EventDispather, in
other words add the instance of EventDispatcher class as a property of your
VO class

More on this:
http://www.gskinner.com/blog/archives/2007/07/building_a_stat_1.html

<http://www.gskinner.com/blog/archives/2007/07/building_a_stat_1.html>
--
Best regards,
JabbyPanda


On 11 July 2010 08:13, dorkie dork from dorktown <
[email protected]> wrote:

>
>
> Is there a way to dispatch an event from a class that doesn't extend
> EventDispatcher? For example, lets say you have 30 different value
> object classes. You want to have one method called invalidateData()
> that dispatches an event to get the latest content from the server.
> Since I want to keep the data separate from the view I may need to
> call this in several different places. Any help would be appreciated.
>  
>

Reply via email to