deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Lachat" <markuslac...@gmx.de>
Subject AW: @PreRenderView and LAZY Mode with 2 tabs
Date Tue, 09 Feb 2016 13:57:22 GMT
Hi,

It was indeed the fault of IBM websphere and also websphere liberty profile. AJAX requests
followed by null pointer exceptions were the cause for WAS/WLS to not call any phase listener.
This works in JBoss server.

However I found a different solution for my initial problem and my new project uses JBoss
anyway. All good.

Many thanks for your support

-----Urspr√ľngliche Nachricht-----
Von: Gerhard Petracek [mailto:gerhard.petracek@gmail.com] 
Gesendet: Donnerstag, 4. Februar 2016 17:22
An: users@deltaspike.apache.org
Betreff: Re: @PreRenderView and LAZY Mode with 2 tabs

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 <markuslachat@gmx.de>:

> 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:gerhard.petracek@gmail.com]
> Gesendet: Mittwoch, 3. Februar 2016 17:18
> An: users@deltaspike.apache.org
> 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 <markuslachat@gmx.de>:
>
> > 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
> >
> >
>
>


Mime
View raw message