[Tide] Event Interceptors

17 views
Skip to first unread message

Thibault Fouache

unread,
Feb 13, 2012, 7:53:22 AM2/13/12
to Granite Data Services Forum
Hello,

I've heard that it's possible to "intercept" some events before the
bus processes them to the [Observer] annoted method.
But I can't find it in the documentation.

In this way it will be possible to display a confirmation pop up to
process or not the event to the observer ?

Thanks in advance.

wdrai

unread,
Mar 5, 2012, 11:08:43 AM3/5/12
to gran...@googlegroups.com
You can implement IEventInterceptor, then you can event.preventDefault() in the beforeDispatch to stop the execution of the observers.
Reply all
Reply to author
Forward
0 new messages