You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Veit Guna <ve...@gmx.de> on 2006/10/25 00:40:38 UTC
AUTO_SCROLL de-/activation
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
Re: AUTO_SCROLL de-/activation (retransmission)
Posted by Jeff Bischoff <jb...@klkurz.com>.
Retransmission: My original reply seems to have been dropped by the
mailing list server, so I am sending again.
Veit,
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".
[1] https://issues.apache.org/jira/browse/TOMAHAWK-713
Regards,
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
>
>
>
Re: AUTO_SCROLL de-/activation
Posted by Veit Guna <Ve...@gmx.de>.
Hm, looks like a working workaround - but not for me :).
I would like to keep AUTO_SCROLL deactivated per default and only activated when needed...
regards,
Veit
-------- Original-Nachricht --------
Datum: Wed, 25 Oct 2006 09:23:43 -0400
Von: Jeff Bischoff <jb...@klkurz.com>
An: MyFaces Discussion <us...@myfaces.apache.org>
Betreff: Re: AUTO_SCROLL de-/activation
> Veit,
>
> 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".
>
> [1] https://issues.apache.org/jira/browse/TOMAHAWK-713
>
> Regards,
>
> 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
> >
> >
> >
>
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Re: AUTO_SCROLL de-/activation
Posted by Jeff Bischoff <jb...@klkurz.com>.
Veit,
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".
[1] https://issues.apache.org/jira/browse/TOMAHAWK-713
Regards,
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
>
>
>