jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: 1135-PostRenderViewEvent

From: Bauke Scholtz <balusc_at_gmail.com>
Date: Fri, 30 Jan 2015 18:07:32 +0100

+1

Another workaround would be @PreDestroy of a @RequestScoped.

On Fri, Jan 30, 2015 at 5:47 PM, arjan tijms <arjan.tijms_at_gmail.com> wrote:

> Hi there,
>
> A while back I proposed adding a PostRenderViewEvent to JSF. It should
> be a relatively low impact change, see
> https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1135
>
> While there are several workaround (see issue), I think it's more
> consistent to have a direct event for this. This is useful for things
> like per-request clean-ups, e.g. for a bean that's otherwise view
> scoped.
>
> Users occasionally ask for this, see e.g.
>
> http://stackoverflow.com/questions/13118103/jsf-2-equivalent-of-ibms-hxscriptcollector-postrender
>
> Thoughts?
>
> Kind regards,
> Arjan Tijms
>