Re: AbstractComponentEventSender

2011-09-27 Thread Pranav kacholia
Alright. Thank you :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AbstractComponentEventSender-tp3848238p3849133.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: AbstractComponentEventSender

2011-09-27 Thread Igor Vaynberg
are > despatching. In this case they will be all extending ComponentEvent. Maybe > there is someway of having a generic IEvent child class sent. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/AbstractComponentEventSender-tp3848238p3848687.html > S

Re: AbstractComponentEventSender

2011-09-27 Thread Martin Grigorov
What other specializations of AbstractComponentEventSender do you need ? On Tue, Sep 27, 2011 at 7:06 PM, Pranav kacholia wrote: > I was going through the wicket code and i think a lot of the code that is > available in ComponentEventSender should be made reuseable. Right now it is &

AbstractComponentEventSender

2011-09-27 Thread Pranav kacholia
-final) (the following probably wont compile, but you get the idea) final class ComponentEvent extends AbstractComponentEventSender{ / @Override public ComponentEvent generateEvent(IEventSink sink, Broadcast type, T payload) { return new ComponentEvent(sink, source, type, payload