[jboss-user] [JBoss Seam] - @RaiseEvent possible bug

ilya78 do-not-reply at jboss.com
Thu Aug 16 06:51:21 EDT 2007


Hi,

I have a SFSB, conversation scoped, with a method annotated @RaiseEvent("modelChanged") and another one @Observer("modelChanged").

Problem is that when Observer method gets called, all tobe-injected members (like facesMessages, etc) are null!

The reason for having Observer in the same bean as rasing event method (instead of calling the method directly) is that the Observer is also present in another beans.

If instead of @RaiseEvent, I use Events.raiseEvent(..), everything works fine.

I suspect this is a bug.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074789#4074789

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074789



More information about the jboss-user mailing list