-
1. Re: Rerender and Page Scroll
ilya_shaikovsky Nov 21, 2008 5:15 AM (in response to gzoller)please try a4j:commandLink instead of s:link.
-
2. Re: Rerender and Page Scroll
gzoller Nov 21, 2008 11:25 AM (in response to gzoller)Tried it. Still getting behavior where page is popped to top on rerender.
-
3. Re: Rerender and Page Scroll
ilya_shaikovsky Nov 24, 2008 7:16 AM (in response to gzoller)Unfortunatelly not reproducible under
http://livedemo:8080/richfaces-demo/richfaces/commandLink.jsf
reducing the window size, scrolling and clicking the link - causes only the outputText to be rerendered.
You could send me your sample directly in war. -
-
5. Re: Rerender and Page Scroll
ronanker Nov 26, 2008 12:10 PM (in response to gzoller)all depend on what we rerender... if we are in a DIV that have scrolling, and we rerender the content of the div, the scrolling will stay... like it does in the demo because the scrolling is on HTML block...
if you rerender the parent of the div, the scrolling is lost...
i haven't made exact test about that but it's what i think it does, i haven't any issue about that in my application and using several DIVs... sometime i would prefer that the div return to top after pressing a link : for exemple a link on my paginator component, when going on next page, it's better returning on top... (i'll work on it later...)