I attached a simple patch for the event bridging. Also reusing ViewRef didn't worked because a binding attribute can't be an array. So i just completely removed the view dependent events.
I will create a new issue for @Eager soon 2013/11/27 Gerhard Petracek <gerhard.petra...@gmail.com> > afair that's a leftover from codi (where it is needed). > > (we should discuss @Eager based on your patch.) > > regards, > gerhard > > > > 2013/11/27 Thomas Andraschko <andraschko.tho...@gmail.com> > > > > imo the event-style fits for PostConstructApplicationEvent (instead of > > > @Startup), because you have usually one per application (or module) and > > > it's easy enough for that. > > > > > > > I think not everybody will use JSF, so a @Eager for AppScoped beans would > > be usefull, too. > > And it's only a small extensions + Annotation. > > There are already many people which implemented it in their own apps. > > > > however, we have 2 approaches which can be used for pre-render-view logic > > > (@PreRenderView and @BeforePhase) - both are in for a good reason. > > > such a 3rd approach would make sense if you need it outside of a > > > view-controller -> i'm not sure if we should support it. > > > > > > > Thats true. There are currently only 2 other events: > > PostConstructViewMapEvent and PreDestroyViewMapEvent > > I already implemented it but we would need to remove the @Nonbinding - or > > i'm wrong? > > > > So +0 from my side. > > >