incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Marinschek" <martin.marinsc...@gmail.com>
Subject Re: Auto-scroll feature
Date Wed, 04 Oct 2006 04:15:08 GMT
Hi,

basically, what we'd need to do, is add an onsubmit-handler, that
dynamically adds a new input-node to the form with the current
scrolling position. We could do that without customizing the submit
routine, as we do currently.

regards,

Martin

On 10/3/06, Adam Winer <awiner@gmail.com> wrote:
> I'd rather not port it to Trinidad, if that means copying code over.
> I'd be interested in finding a way to make the autoscroll
> feature one that doesn't require using the MyFaces commandButton
> and form.
>
> -- Adam
>
>
> On 10/3/06, Martin Koci <Martin.Koci@aura.cz> wrote:
> >
> > Yes, PPR can solve that problem too, but many users of trinidad have
> > legacy pages with h:dataTable etc.
> > They can rely on myfaces auto-scroll feature and they won't rewrite all
> > pages to trinidad.
> >
> > I think myfaces auto-scroll feature should be ported to trinidad:
> >
> > - using trinidad disables auto-scroll; this can be annoying surprise for
> > myfaces impl users
> >
> > - accordance with current myfaces code there are only three or four
> > points which must be ported, so port is simple
> >
> > - porting this feature to trinidad will allow using it with Sun RI.
> >
> >
> > Martin
> >
> >
> > Adam Winer píše v Út 03. 10. 2006 v 07:45 -0700:
> > > Martin,
> > >
> > > Trinidad doesn't have an auto-scroll feature;  however,
> > > it has PPR, which preserves scrolling position without
> > > any bouncing up-and-down.
> > >
> > > -- Adam
> > >
> > >
> > > On 10/3/06, Martin Koci <Martin.Koci@aura.cz> wrote:
> > > > Have Trinidad auto-scroll as myfaces impl has?
> > > >
> > > > If rendered output is too long (for example long dataTable) and user
> > > > clicks a bottom button   the page scrolls to the top.
> > > >
> > > > Myfaces have a auto-scroll feature (can be enabled with
> > > > org.apache.myfaces.AUTO_SCROLL in web.xml). This features saves
> > > > position of a window between requests and re-scroll it.
> > > >
> > > > But it is based on command button rendererer and html form renderer
> > from
> > > > myfaces. Unfortunately trinidad overrides those renderers so that
> > > > feature doesn't work.
> > > >
> > > >
> > > > Martin
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Mime
View raw message