Thanks for the reply, Mike.

I want to use the pager.

>I haven't heard of anybody trying to use the two together. FormAlchemy
>is a general tool, so they may not have Pylons/Paginate uppermost in
>their mind.

I'm new to Pylons, so maybe there is something I am not understanding
about the philosophy here:

I'm using FormAlchemy because I want a library that will help me
generate forms and lists from result-sets.  I don't understand why
including pagination in those sets wouldn't be considered a general
feature of such a library.

Maybe FormEncode or ToscaWidgets does this more in the way I'm
expecting?

On Jun 14, 10:25 am, Mike Orr <[email protected]> wrote:
> On Mon, Jun 14, 2010 at 9:57 AM, [email protected]
>
> <[email protected]> wrote:
> > Can i still use FA with webhelpers.paginate?  The book talks about
> > passing the query to paginate and building your own template for
> > display, but I've been typically passing my queries to e.g. fa.Grid
> > and rendering via FA templates.  My concern is that paginate seems to
> > take care of the offset - whereas I think FA would need to receive a
> > resultset that is already constrained by the offset.  Furthermore, I
> > think FA uses its own collection object to generate the rows, whereas
> > paginate probably has a different structure in it's paginator...
>
> > But I still find it odd that FA wouldn't have thought about pagination
> > or know how to "play nice" with paginate.
>
> I haven't heard of anybody trying to use the two together. FormAlchemy
> is a general tool, so they may not have Pylons/Paginate uppermost in
> their mind.
>
> Paginate was designed for a naive query; I'm not sure what it would
> gain you with a pre-paged query, as the numbers would be all off.
> Which parts of Paginate do you specifically want to use, the
> navigator?
>
> --
> Mike Orr <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to