On Thu, Feb 24, 2011 at 6:37 PM, Mike Orr <sluggos...@gmail.com> wrote:
> Paginate works with Pyramid, with the caveat that if you use the
> Page.pager() method, you have to pass a custom URL generator to the
> constructor as described on the webhelpers.paginate page.
>

Can't we have a default pyramid generator (and well, webob based
frameworks) in WebHelpers who use the request.path to generate the url
?

So you can use Page.pager(request=request)

My 2cents

--
Gael

> I'm working on a variation that won't have this restriction.
>
> On Thu, Feb 24, 2011 at 7:03 AM, Renato Pereira
> <renato.ppon...@gmail.com> wrote:
>> Hi Chris,
>>
>> I don't know if is recommended, but I use webhelpers[1]. It's pretty
>> easy to use. =]
>>
>>
>> [1] http://webhelpers.groovie.org/
>>
>> On 02/24/2011 08:38 AM, Chris Withers wrote:
>>> Hi All,
>>>
>>> What's the recommended paginator/batcher for use with Pyramid?
>>>
>>> cheers,
>>>
>>> Chris
>>>
>>
>> --
>>
>> -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
>>
>> Renato de Pontes Pereira
>>  - Membro opensuse - http://en.opensuse.org/User:Renatopp
>>  - http://renatopp.wordpress.com
>>  - @renatopp - twitter
>>  - renatopp - irc
>>
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "pylons-devel" group.
>> To post to this group, send email to pylons-devel@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> pylons-devel+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/pylons-devel?hl=en.
>>
>>
>
>
>
> --
> Mike Orr <sluggos...@gmail.com>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-devel" group.
> To post to this group, send email to pylons-devel@googlegroups.com.
> To unsubscribe from this group, send email to 
> pylons-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/pylons-devel?hl=en.
>
>

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

Reply via email to