Hello again, after due consideration, the removal of "onclick" is not such a problem, it even allows for cleaner HTML code. I added the following Javascript and it solved the problem for me:
> $('#${prefix}pager a').click(function () { > var partial_url = this.href + (this.href.indexOf('?')==-1 ? '?' : > '&') + 'partial=1'; > $('#results').load(partial_url); > return false > } I think I'll add "paginate" to my toolbox permanently. Thanks for the good work :-) Laurent. > IMHO, the pager needs some more polish: > > 1/ I had to handle URL generation myself, here is how I did is (cleaner > solutions welcome :-)) > >> qsd = urlparse.parse_qs(request.query_string) >> qsd.update(page='$page') >> page_url = request.path_url + '?' + >> urllib.urlencode(qsd,True).replace('%24page', '$page') > > 2/ Unicode characters such as "«" and "»" (angled double quotes) were > not accepted in symbol_previous and symbol_next, so I kept the defaults > ("<" and ">"). > > 3/ The paginate module has lost webhelpers.paginate's ability to handle > partial page loads with AJAX (via the "onclick" argument). > > Hope this helps, > > Laurent. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.