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
> afair that's a leftover from codi
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
> > imo the event-style fits for PostConstructApplicationEvent (instead of
> > @Startup), because you have usually one per application (or mo
> 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 extens
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.
however, we have 2 approaches which can be used for pre-render-view logic
(@PreRenderView and @BeforePhase) - both are in for a
nevertheless, i think this are 2 different features.
I would like to see both in DS and i already have a working implementation
for @Eager and a JSF SystemEvent bridge.
2013/11/27 Thomas Andraschko
> Is JSF ready in afterdeploymentvalidation?
>
>
>
> 2013/11/27 Romain Manni-Bucau
>
>> Why not
Is JSF ready in afterdeploymentvalidation?
2013/11/27 Romain Manni-Bucau
> Why not just supporting @eager, doing a tostring in
> afterdeploymentvalidation should do the trick
> Le 27 nov. 2013 13:15, "Thomas Andraschko" a
> écrit :
>
> > Gerhard, one question about the system events.
> > We c
Why not just supporting @eager, doing a tostring in
afterdeploymentvalidation should do the trick
Le 27 nov. 2013 13:15, "Thomas Andraschko" a
écrit :
> Gerhard, one question about the system events.
> We could also do somelike like (@Observers @ViewRef(config = MyView.class)
> PreRenderViewEvent
Gerhard, one question about the system events.
We could also do somelike like (@Observers @ViewRef(config = MyView.class)
PreRenderViewEvent event) but the #config in ViewRef has a @NonBinding.
Is this by design?
2013/11/27 Gerhard Petracek
> yes - you are very welcome to do it (don't forget to
yes - you are very welcome to do it (don't forget to use Deactivatable)
regards,
gerhard
2013/11/27 Thomas Andraschko
> How is it handled it DS?
> Should i just create a issue + providing a patch or something?
>
>
> 2013/11/27 Gerhard Petracek
>
> > yes - we can do that.
> >
> > regards,
> >
How is it handled it DS?
Should i just create a issue + providing a patch or something?
2013/11/27 Gerhard Petracek
> yes - we can do that.
>
> regards,
> gerhard
>
>
>
> 2013/11/27 Thomas Andraschko
>
> > What about providing a CDI Event for such events?
> >
> > (@Observers PostConstructAppli
yes - we can do that.
regards,
gerhard
2013/11/27 Thomas Andraschko
> What about providing a CDI Event for such events?
>
> (@Observers PostConstructApplicationEvent event) would be a great thing.
>
>
> 2013/11/27 Thomas Andraschko
>
> > Is a SystemEventListener CDI-aware with DS?
> >
> >
>
What about providing a CDI Event for such events?
(@Observers PostConstructApplicationEvent event) would be a great thing.
2013/11/27 Thomas Andraschko
> Is a SystemEventListener CDI-aware with DS?
>
>
> 2013/11/27 Gerhard Petracek
>
>> with jsf2+ you can use PostConstructApplicationEvent
>>
Is a SystemEventListener CDI-aware with DS?
2013/11/27 Gerhard Petracek
> with jsf2+ you can use PostConstructApplicationEvent
>
> regards,
> gerhard
>
>
>
> 2013/11/27 Thomas Andraschko
>
> > Hi,
> >
> > is there any to plan to port @Startup for JSF Applications?
> >
> > Regards,
> > Thomas
>
with jsf2+ you can use PostConstructApplicationEvent
regards,
gerhard
2013/11/27 Thomas Andraschko
> Hi,
>
> is there any to plan to port @Startup for JSF Applications?
>
> Regards,
> Thomas
>
Hi,
is there any to plan to port @Startup for JSF Applications?
Regards,
Thomas
15 matches
Mail list logo