Florent Aide wrote:
>Le vendredi 11 mai 2007 à 12:37 +0200, Jose Soares a écrit :
>
>
>
>>I confirm the behavior described by Andrej. It doesn't work also for me.
>>I'm have to use paginate.current_page to navigate into the grid,
>>
>>this doesn't work:
>> ${tg.paginate.get_href(tg.paginate.href_first)}
>> ${tg.paginate.get_href(tg.paginate.href_next) }
>> ${tg.paginate.get_href(tg.paginate.href_prev) }
>> ${tg.paginate.get_href(tg.paginate.href_last) }
>>
>>this one works, instead:
>> ${tg.paginate.get_href(tg.paginate.get_href(1) } #first page
>> ${tg.paginate.get_href(tg.paginate.current_page + 1)} #next page
>> ${tg.paginate.get_href(tg.paginate.current_page - 1)} #previous page
>> ${tg.paginate.get_href(tg.paginate.page_count) } #last page
>>
>>
>>
>
>This was a known problem and was corrected in the 1.0 branch and trunk.
>If you want the patch you can look here:
>
>http://trac.turbogears.org/ticket/1321
>
>
yes, now it works, :-)
thank you, Florent
jo
>Cheers,
>Florent Aide.
>
>
>
>>
>
>
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---