OK I've spent about an hour searching the docs and looking at the
source code to the paginate decorator, and I can't figure this one out.

How do I use paginate in conjunction with a controller method that
takes multiple parameters? I have a search page that takes a url in the
form "page.html?search=xxx". I'd like to be able to use the pagination
decorator - however, I can't figure out how to get the pagination
decorator to combine my "search=" query parameter with its own query
params.You would think that get_href would take optional params
indicating additional query params - just like tg.url does.

(And you can't use tg.url to glue together the pagination url and your
own query, because that just adds an extra '?' making the URL invalid.)

-- Talin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to