I think you could change this behaviour by changing
<context-param>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>true</param-value>
</context-param>
in your web.xml to
<context-param>
<param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
<param-value>false</param-value>
</context-param>
----- Original Message -----
From: "Ken McArthur" <[EMAIL PROTECTED]>
To: "MyFaces Discussion" <[email protected]>
Sent: Tuesday, March 07, 2006 5:33 AM
Subject: javascript function getScrolling()
Sometimes I'm returning to the same jsp page after executing an action.
Page is rebuilt fine but position in browser returns to where I was. Looks
like culprit is javascript function called getScrolling().
Anyone know how to suppress this javascript?
I've put onload=window.scrollTo(0,0); into my body tag but load now
flickers.
Page loads positioned at top -> Page scrolls down to getScrolling() position
-> Page returns to top.
Any ideas would be greatly appreciated.