deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Lachat" <markuslac...@gmx.de>
Subject AW: 2 issues with CIENTWINDOW mode
Date Tue, 17 Nov 2015 16:51:11 GMT
Hi Thomas,

1) It would occur also on a link defined like this. <h:link value="GET Link" outcome="test.xhtml"
/> where test is the current site. I changed the background of this test site to better
spot this behavior. Empty sites are quite fast, esp. on localhost. Once you do it remote with
some DB load and a possibly slow server, it also becomes very flashy.

2) I just created https://issues.apache.org/jira/browse/DELTASPIKE-1023
Thanks for considering it.

Let me know if you need the demo for 1)

Best regards,
Markus

-----Urspr√ľngliche Nachricht-----
Von: Thomas Andraschko [mailto:andraschko.thomas@gmail.com] 
Gesendet: Dienstag, 17. November 2015 17:34
An: users@deltaspike.apache.org
Betreff: Re: 2 issues with CIENTWINDOW mode

Hi Markus,

1) does it still flicker for you when you use a button or normal link?
    Is it just related to the PF menu? Or PrimeFaces ajax request?

2) Could be possible - not sure.
    please create a feature request.

Regards,
Thomas

2015-11-17 17:26 GMT+01:00 Markus Lachat <markuslachat@gmx.de>:

> Hi,
>
> The first issue is about the flickering of the screen:
> I am wondering if I configured anything wrong. I implemented the 
> specialized ClientWindowConfig and override these 4 methods and each 
> returns true
>
> isClientWindowStoreWindowTreeEnabledOnLinkClick
> isClientWindowStoreWindowTreeEnabledOnAjaxRequest
> isClientWindowStoreWindowTreeEnabledOnButtonClick
> isClientWindowTokenizedRedirectEnabled
>
> All working, no destroyed viewAccessScope and so on, however I still 
> see a lot of flickering when navigating over a primefaces menu backed 
> by a navigation bean (responsible for the typesafe outcome). These are 
> mainly links that cause a POST with an outcome or just simple GET 
> links. I could provide a demo for this issue.
>
>
> The second issue is a nice to have for better user experience:
> It works for buttons (thank you Thomas for fixing this
> https://issues.apache.org/jira/browse/DELTASPIKE-968)
> But when the user scrolled down, somewhere at the bottom of a long 
> page to click the buttons the page seems to scroll up again, because 
> it shows the state of the html when the page was initially loaded.
>
> Can you somehow improve that behavior to show the state of the browser 
> just the moment before a link or button is clicked?
>
> Best regards,
> Markus
>
>


Mime
View raw message