hi pete,

@View is just an interceptor which is often used in combination with the
phase-listener observer-methods.
i just mentioned it since it's documented side-by-side in the wiki,
however, as mentioned before we have to postpone the discussion about it.

regards,
gerhard



2012/10/17 Pete Muir <[email protected]>

> Shouldn't @View be a parameter annotation?
>
> Semantically, you are saying "observe the after phase of invoke
> application on DemoPage" AIUI.
>
> On 17 Oct 2012, at 10:14, Gerhard Petracek wrote:
>
> > codi even supports to filter it for views - e.g.:
> > @View(DemoPage.class)
> > public void observePostInvokeApplication(@Observes
> > @AfterPhase(JsfPhaseId.INVOKE_APPLICATION) PhaseEvent event) {
> >  //...
> > }
> >
> > but we have to postpone that part for now until we have an agreement
> > concerning type-safe view-config and navigation.
> > (@View is also used for other features in codi.)
>
>

Reply via email to