Matthias, is there a JSF event I can listen to, which gets fired if a view is being destroyed (timed out, etc)?
txs and LieGrue, strub --- On Mon, 1/11/10, Mark Struberg <[email protected]> wrote: > From: Mark Struberg <[email protected]> > Subject: Re: supporting new JSF2 scopes within openwebbeans-jsf > To: [email protected] > Date: Monday, January 11, 2010, 10:29 AM > > As I said, I am fine to have a > MyFaces feature to disable > > it :) > > Only after I figure out how to enable this scope in OWB ;) > > I discovered that I need to implement > BeforeBeanDiscoveryImpl before we can do this :/ > > LieGrue, > strub > > --- On Mon, 1/11/10, Matthias Wessendorf <[email protected]> > wrote: > > > From: Matthias Wessendorf <[email protected]> > > Subject: Re: supporting new JSF2 scopes within > openwebbeans-jsf > > To: [email protected] > > Date: Monday, January 11, 2010, 10:21 AM > > On Mon, Jan 11, 2010 at 10:05 AM, > > Mark Struberg <[email protected]> > > wrote: > > > fine, I'm currently a bit bitten by the fact that > all > > the JSF scopes are not JSR-330 @Scope annotated. > > > > My problem (yeah, I am a jetty guy) is that I have to > > jetty:run-exploded. For some things (like Behavior) > > I can register them, but when I add > @ResourceDependency, > > the only > > "workaround" is to mess around with > > the XHTML file, where I have to add > > <h:outputScript/Stylesheet/>, > > which kinda sucks :-) > > > > > > > > I'm currently trying to figure out how I can get > the > > annotation recognised as a Scope anyway... > > > > As I said, I am fine to have a MyFaces feature to > disable > > it :) > > > > > > > > LieGrue, > > > strub > > > > > > --- On Mon, 1/11/10, Matthias Wessendorf <[email protected]> > > wrote: > > > > > >> From: Matthias Wessendorf <[email protected]> > > >> Subject: Re: supporting new JSF2 scopes > within > > openwebbeans-jsf > > >> To: "[email protected]" > > <[email protected]> > > >> Date: Monday, January 11, 2010, 10:03 AM > > >> I spoke with Bernd over the weekend; > > >> He also wants something better > > >> for JSF/MyFaces' annotation scanning. > > >> On January 28th we may sit together for a > little > > >> OWB/MyFaces coding. > > >> > > >> -Matthias > > >> > > >> On Sun, Jan 10, 2010 at 12:08 AM, Matthias > > Wessendorf > > >> <[email protected]> > > >> wrote: > > >> > > > >> > > > >> > Sent from my iPod. > > >> > > > >> > On 09.01.2010, at 22:33, Mark Struberg > <[email protected]> > > >> wrote: > > >> > > > >> >> Hi! > > >> >> > > >> >> I'd like to implement the support > for the > > JSF-2 > > >> scopes @ViewScoped > > >> >> (javax.faces.bean.ViewScoped). > > >> > > > >> > +1 > > >> > Today I thought to implement things > like > > >> @FacesBehavior outside of JSF. Why? > > >> > I hate jetty: run-exploded. Or... > MyFaces > > could have a > > >> myfaces. xml(like > > >> > beans.xml) to have a better "scanner" > > >> > > > >> > Does that make sense? > > >> > > > >> >> > > >> >> Should I hack this into > openwebbeans-jsf, > > or > > >> should I create an own > > >> >> extensions module? > > >> > > > >> > Hrm... as it is OWB specific I don't > mind the > > - jsf > > >> module. > > >> > > > >> >> > > >> >> Another question: how to disable the > DI > > part of > > >> MyFaces (resp. Mojarra)? > > >> > > > >> > Is there any? I am fine to actually do > that > > in myfaces > > >> ;-) As I like your > > >> > base idea on this. > > >> > > > >> > > > >> > -M > > >> > > > >> >> > > >> >> LieGrue, > > >> >> strub > > >> >> > > >> >> > > >> >> > > >> >> > > >> > > > >> > > >> > > >> > > >> -- > > >> Matthias Wessendorf > > >> > > >> blog: http://matthiaswessendorf.wordpress.com/ > > >> sessions: http://www.slideshare.net/mwessendorf > > >> twitter: http://twitter.com/mwessendorf > > >> > > > > > > > > > > > > > > > > > > > > -- > > Matthias Wessendorf > > > > blog: http://matthiaswessendorf.wordpress.com/ > > sessions: http://www.slideshare.net/mwessendorf > > twitter: http://twitter.com/mwessendorf > > > > > >
