-
1. Re: Event with @Observer not being fired
nickarls Jan 23, 2008 1:41 AM (in response to terryb)I think the @Observer("org.jboss.seam.loggedOut") is the correct version nowadays but you already said it didn't work. Is the method in a seam-managed class? Can you get any other observers to trigger in that class?
-
2. Re: Event with @Observer not being fired
terryb Jan 23, 2008 2:35 AM (in response to terryb)it is now resolved. thank you very much for the help, and my apologies I was asking for problem that didnt' exist.
the problem occurred, due to JBDev not updating classes; becase after updating seam some dependency jar was missing.
though something useful that came out of this:
Events like "org.jboss.seam.loggedOut" will be replaced with to "org.jboss.seam.security.loggedOut" from next major release. 2.0.0CR1 currently supports both types. Now you could also use events like
@Observer(Identity.EVENT_LOGGED_OUT). -
3. Re: Event with @Observer not being fired
nickarls Jan 23, 2008 4:30 AM (in response to terryb)Oops, I must have been reading the wrong version :-/ But It's a good thing that we get the constants now.
Although I wouldn't mind that they would all be in the Events class. So that your could find everything observable in one place.