myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Bischoff <>
Subject Re: AUTO_SCROLL de-/activation
Date Wed, 25 Oct 2006 13:23:43 GMT

I know of a *hack* or two that will disable AUTO_SCROLL on the page level.

For example, if you put the following somewhere on your page:

<input type="hidden" name="autoScroll" />

It will *break* the autoscroll feature, due to duplicate autoscroll 
input boxes. I found out about this because it is the probable cause of 
TOMAHAWK-713. There are also probably ways to break it (for a single 
page) using javascript.

I don't know of anything in the framework yet to configure autoscroll 
beyond simply "on" or "off".



Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

Veit Guna wrote:
> Hi.
> It would be great if it would be possible to de-/activate the
> AUTO_SCROLL behavior programmatically. As far as I read the mailing
> list, actually there's no way to accomplish that.
> On pages where validation errors occur and the submit button is on the
> bottom of the page (after scrolling down), AUTO_SCROLL is a no-go,
> because the user wouldn't see the message on top of the page. On the
> other hand when scrolling a table through a pager for example it's
> annoying that everytime the page pops to the top.
> So, changing this behavior on page level would be nice.
> Any ideas?
> regards,
> Veit

View raw message