Sorry for the late reply, I was out of town.
Yes, my rendered HTML is full of div's. And yes, I have specified the parameter in my web.xml....

The only scroll js code I can see is:

function getScrolling() {
   var x = 0; var y = 0;
   if (document.body && document.body.scrollLeft && 
!isNaN(document.body.scrollLeft)) {
       x = document.body.scrollLeft;
   } else if (window.pageXOffset && !isNaN(window.pageXOffset)) {
       x = window.pageXOffset;
   }
   if (document.body && document.body.scrollTop && 
!isNaN(document.body.scrollTop)) {
       y = document.body.scrollTop;
   } else if (window.pageYOffset && !isNaN(window.pageYOffset)) {
       y = window.pageYOffset;
   }
   return x + "," + y;


}

A commandLink looks like
<a href="#" 
onclick="clear_content_3A_5Fid53();document.forms['content:_id53'].elements['autoScroll'].value=getScrolling();document.forms['content:_id53'].elements['content:_id53:_link_hidden_'].value='content:_id53:linkActualizar';document.forms['content:_id53'].elements['llave'].value='3';if(document.forms['content:_id53'].onsubmit){document.forms['content:_id53'].onsubmit();}document.forms['content:_id53'].submit();return
 false;" id="content:_id53:linkActualizar">
                                                        <table class="menu_tabla" 
cellpadding="0" cellspacing="0"

Its weird that I cannot see any reference to window.scrollTo in my rendered HTML code

Thanks for any help.

Paul Klaer wrote:

Did you specified "AUTO_SCROLL" in web.xml?

How is your HTML page looking like? Are you using divs or something else?

If you look in your HTML page, what values are set for the added javascript "window.scrollTo()"?


On Fri, 23 Sep 2005 22:38:22 +0200, Julián García <[EMAIL PROTECTED]> wrote:

The auto-scroll parameter is not working for me after reloading a page
when an actionListener executes....are there any specific requirements
in order to make it work?

Thanks.

Julian.



Reply via email to