incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <>
Subject Re: [Trinidad] tr:tree with paged children
Date Sun, 14 Jan 2007 05:53:36 GMT
treeTable has support for pagination - so you could plug
that exact same TreeModel into a single-column treeTable
and get pagination support.

-- Adam

On 1/10/07, Renzo Tomaselli <> wrote:
>  Hi, I implemented a TreeModel for lazy loading a tr:tree, since the
> provided ChildPropertyTreeModel is not smart enough for the purpose.
>  It runs fine, but now I would extend it to support paged presentation of
> long children lists.
>  I wonder if there is a way to insert a scroll widget below/above expanded
> children, so that I could manage related events to scroll up and down the
> list.
>  A working alternative would requre a pair of dummy children, since I use
> tr:commandLinks to render nodeStamps. So I can replace the very first/last
> links through scroll icons. It just makes the tree model somewhat more
> complex because of those two dummy children.
>  Just wondering about any smart alternative, since the tree seems to accept
> only nodeStamps and all of them count up as children.
>  -- Renzo

View raw message