hi markus,

if you like, you can also test if a phase-listener for
PhaseId.RENDER_RESPONSE gets called in those cases...
(the @PreRenderView-logic gets triggered by a phase-listener.)

regards,
gerhard



2016-02-04 17:10 GMT+01:00 Markus Lachat <[email protected]>:

> Hi,
>
> I did some more tests and my finding is that the @PreRenderView doesn't
> work for Ajax requests only and this behavior is only reproducible for
> websphere liberty profile and WAS full profile. On JBoss 7.1 it worked! I
> will try other JEE6 server
>
> Here is the github link
> https://github.com/mlachat/prerenderview.git
> and here the deployed app on openshift (JBoss7)
> http://dsdemo-mlachat.rhcloud.com/pages/index.jsf
>
> Do you test on IBM products too?
>
> Best regards,
> markus
>
> -----Ursprüngliche Nachricht-----
> Von: Gerhard Petracek [mailto:[email protected]]
> Gesendet: Mittwoch, 3. Februar 2016 17:18
> An: [email protected]
> Betreff: Re: @PreRenderView and LAZY Mode with 2 tabs
>
> hi markus,
>
> yes - please provide the example.
>
> regards,
> gerhard
>
>
>
> 2016-02-03 10:05 GMT+01:00 Markus Lachat <[email protected]>:
>
> > Hi,
> >
> > I use the Lazy Mode as ClientWindowRenderMode. It is a known issue
> > that this mode does not fully prevent @ViewAccessScoped beans to be
> > destroyed if used in two tabs and same session. My problem is that the
> > prerenderview annotated method of the first, destroyed bean is not
> > running once the user comes back to the first tab. Is this intended? I
> > can provide an online example app if needed, let me know.
> >
> > Thank you and best regards,
> > Markus
> >
> >
>
>

Reply via email to