This content has been marked as final.
Show 1 reply
-
1. Re: RaiseEvent and outject
kapitanpetko Jun 20, 2010 10:22 PM (in response to subaochen)Maybe :) It depends on order of Seam interceptors, and it seems the EventInterceptor gets called before the BijectionInterceptor, that's why you are getting null. Use Events.raiseEvent instead and pass your string as a parameter instead. Something like:
sayHello() { Events.instance().raiseEvent("hello", "123"); } @Observer("hello") public void hello(String test) { ... }
HTH