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 <[EMAIL PROTECTED]>
An: MyFaces Discussion <[email protected]>
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

Reply via email to