> On Sat, Nov 7, 2009 at 5:28 PM, Leon Waldman <le.wald...@gmail.com>
> wrote:
> Hi,
> AFAIK, you can do it on the SQL...
> Cheers
> --
> Leon Waldman
> SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
> On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
> actually i was trying to learn how to paginate in webpy.
> On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding
> <ang...@gladding.name> wrote:
> Can you clarify what it is you mean by "sort them with links"? Are
> you dealing w/ raw HTML or are you sending an unsorted list to a
> template?
> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
> i have a wicked long list of used books - wondering if i can sort them
> with links?
> On Nov 7, 2009, at Nov 7, 2009 - 7:56 PM, Greg Milby wrote:
> what is afaik?
> On Sat, Nov 7, 2009 at 5:28 PM, Leon Waldman <le.wald...@gmail.com> wrote:
>> Hi,
>> AFAIK, you can do it on the SQL...
>> Cheers
>> --
>> Leon Waldman
>> SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
>> On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
>>> actually i was trying to learn how to paginate in webpy.
>>> On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <ang...@gladding.name>wrote:
>>>> Can you clarify what it is you mean by "sort them with links"? Are you
>>>> dealing w/ raw HTML or are you sending an unsorted list to a template?
>>>> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
>>>>> i have a wicked long list of used books - wondering if i can sort them
>>>>> with links?
On Sat, Nov 7, 2009 at 6:02 PM, Greg Milby <gmi...@gmail.com> wrote:
> ah - ty
> On Sat, Nov 7, 2009 at 7:58 PM, alexander lind <a...@polkabrothers.com>wrote:
>> as far as i know.
>> On Nov 7, 2009, at Nov 7, 2009 - 7:56 PM, Greg Milby wrote:
>> what is afaik?
>> On Sat, Nov 7, 2009 at 5:28 PM, Leon Waldman <le.wald...@gmail.com>wrote:
>>> Hi,
>>> AFAIK, you can do it on the SQL...
>>> Cheers
>>> --
>>> Leon Waldman
>>> SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
>>> On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
>>>> actually i was trying to learn how to paginate in webpy.
>>>> On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <ang...@gladding.name>wrote:
>>>>> Can you clarify what it is you mean by "sort them with links"? Are you
>>>>> dealing w/ raw HTML or are you sending an unsorted list to a template?
>>>>> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
>>>>>> i have a wicked long list of used books - wondering if i can sort them
>>>>>> with links?
On Sun, Nov 08, 2009 at 12:28:12AM +0200, Leon Waldman wrote:
> Hi,
> AFAIK, you can do it on the SQL...
> Cheers
> --
> Leon Waldman
> SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
> On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
> > actually i was trying to learn how to paginate in webpy.
> > On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <ang...@gladding.name>wrote:
> >> Can you clarify what it is you mean by "sort them with links"? Are you
> >> dealing w/ raw HTML or are you sending an unsorted list to a template?
> >> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
> >>> i have a wicked long list of used books - wondering if i can sort them
> >>> with links?
> On Sat, Nov 7, 2009 at 6:02 PM, Greg Milby <gmi...@gmail.com> wrote:
>> ah - ty
>> On Sat, Nov 7, 2009 at 7:58 PM, alexander lind <a...@polkabrothers.com>wrote:
>>> as far as i know.
>>> On Nov 7, 2009, at Nov 7, 2009 - 7:56 PM, Greg Milby wrote:
>>> what is afaik?
>>> On Sat, Nov 7, 2009 at 5:28 PM, Leon Waldman <le.wald...@gmail.com>wrote:
>>>> Hi,
>>>> AFAIK, you can do it on the SQL...
>>>> Cheers
>>>> --
>>>> Leon Waldman
>>>> SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
>>>> On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
>>>>> actually i was trying to learn how to paginate in webpy.
>>>>> On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <ang...@gladding.name>wrote:
>>>>>> Can you clarify what it is you mean by "sort them with links"? Are you
>>>>>> dealing w/ raw HTML or are you sending an unsorted list to a template?
>>>>>> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
>>>>>>> i have a wicked long list of used books - wondering if i can sort
>>>>>>> them
>>>>>>> with links?
i tried that - liked the idea, but it didn't go well.
i wrote ascript to make the js (jQuery) data format - but if you look, it
displays tons of empty pages at the end, was never able to figure out why -
data is formatted to jQuery spec's
http://pairadice.no-ip.org/booknook/virt/
On Sat, Nov 7, 2009 at 10:58 PM, Justin Caratzas
<justin.carat...@gmail.com>wrote:
> or using javascript/JQuery, if you use a standard html table
> Justin Caratzas
> On Sun, Nov 08, 2009 at 12:28:12AM +0200, Leon Waldman wrote:
> > Hi,
> > AFAIK, you can do it on the SQL...
> > Cheers
> > --
> > Leon Waldman
> > SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
> > On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
> > > actually i was trying to learn how to paginate in webpy.
> > > On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <ang...@gladding.name
> >wrote:
> > >> Can you clarify what it is you mean by "sort them with links"? Are you
> > >> dealing w/ raw HTML or are you sending an unsorted list to a template?
> > >> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
> > >>> i have a wicked long list of used books - wondering if i can sort
> them
> > >>> with links?
On Sun, Nov 08, 2009 at 06:19:53AM -0500, Greg Milby wrote:
> i tried that - liked the idea, but it didn't go well.
> i wrote ascript to make the js (jQuery) data format - but if you look, it
> displays tons of empty pages at the end, was never able to figure out why -
> data is formatted to jQuery spec's
> http://pairadice.no-ip.org/booknook/virt/
> On Sat, Nov 7, 2009 at 10:58 PM, Justin Caratzas
> <justin.carat...@gmail.com>wrote:
> > or using javascript/JQuery, if you use a standard html table
> > Justin Caratzas
> > On Sun, Nov 08, 2009 at 12:28:12AM +0200, Leon Waldman wrote:
> > > Hi,
> > > AFAIK, you can do it on the SQL...
> > > Cheers
> > > --
> > > Leon Waldman
> > > SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
> > > On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
> > > > actually i was trying to learn how to paginate in webpy.
> > > > On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <ang...@gladding.name
> > >wrote:
> > > >> Can you clarify what it is you mean by "sort them with links"? Are you
> > > >> dealing w/ raw HTML or are you sending an unsorted list to a template?
> > > >> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
> > > >>> i have a wicked long list of used books - wondering if i can sort
> > them
> > > >>> with links?
> I'm assuming you got that problem fixed, because I just checked that link
> and it seems to work fine. The last 8 pages or so have data.
> Justin
> ps. Is this for the Book Nook franchise of used book stores? I love that
> place.
> On Sun, Nov 08, 2009 at 06:19:53AM -0500, Greg Milby wrote:
> > i tried that - liked the idea, but it didn't go well.
> > i wrote ascript to make the js (jQuery) data format - but if you look,
> it
> > displays tons of empty pages at the end, was never able to figure out why
> -
> > data is formatted to jQuery spec's
> > http://pairadice.no-ip.org/booknook/virt/
> > On Sat, Nov 7, 2009 at 10:58 PM, Justin Caratzas
> > <justin.carat...@gmail.com>wrote:
> > > or using javascript/JQuery, if you use a standard html table
> > > Justin Caratzas
> > > On Sun, Nov 08, 2009 at 12:28:12AM +0200, Leon Waldman wrote:
> > > > Hi,
> > > > AFAIK, you can do it on the SQL...
> > > > Cheers
> > > > --
> > > > Leon Waldman
> > > > SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
> > > > On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com>
> wrote:
> > > > > actually i was trying to learn how to paginate in webpy.
> > > > > On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <
> ang...@gladding.name
> > > >wrote:
> > > > >> Can you clarify what it is you mean by "sort them with links"? Are
> you
> > > > >> dealing w/ raw HTML or are you sending an unsorted list to a
> template?
> > > > >> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com>
> wrote:
> > > > >>> i have a wicked long list of used books - wondering if i can sort
> > > them
> > > > >>> with links?
On Sun, Nov 8, 2009 at 9:32 AM, Greg Milby <gmi...@gmail.com> wrote:
> yes, i actually discovered what was wrong on the jquery pagination. i may
> run with that since it would reduce the load on the webserver. thank you
> On Sun, Nov 8, 2009 at 2:19 PM, Justin Caratzas <justin.carat...@gmail.com
> > wrote:
>> I'm assuming you got that problem fixed, because I just checked that link
>> and it seems to work fine. The last 8 pages or so have data.
>> Justin
>> ps. Is this for the Book Nook franchise of used book stores? I love that
>> place.
>> On Sun, Nov 08, 2009 at 06:19:53AM -0500, Greg Milby wrote:
>> > i tried that - liked the idea, but it didn't go well.
>> > i wrote ascript to make the js (jQuery) data format - but if you look,
>> it
>> > displays tons of empty pages at the end, was never able to figure out
>> why -
>> > data is formatted to jQuery spec's
>> > http://pairadice.no-ip.org/booknook/virt/
>> > On Sat, Nov 7, 2009 at 10:58 PM, Justin Caratzas
>> > <justin.carat...@gmail.com>wrote:
>> > > or using javascript/JQuery, if you use a standard html table
>> > > Justin Caratzas
>> > > On Sun, Nov 08, 2009 at 12:28:12AM +0200, Leon Waldman wrote:
>> > > > Hi,
>> > > > AFAIK, you can do it on the SQL...
>> > > > Cheers
>> > > > --
>> > > > Leon Waldman
>> > > > SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
>> > > > On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com>
>> wrote:
>> > > > > actually i was trying to learn how to paginate in webpy.
>> > > > > On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <
>> ang...@gladding.name
>> > > >wrote:
>> > > > >> Can you clarify what it is you mean by "sort them with links"?
>> Are you
>> > > > >> dealing w/ raw HTML or are you sending an unsorted list to a
>> template?
>> > > > >> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com>
>> wrote:
>> > > > >>> i have a wicked long list of used books - wondering if i can
>> sort
>> > > them
>> > > > >>> with links?
> Keep in mind non-js users!! :) The load is likely to be mostly on the
> database end anyway.
> On Sun, Nov 8, 2009 at 9:32 AM, Greg Milby <gmi...@gmail.com> wrote:
>> yes, i actually discovered what was wrong on the jquery pagination. i may
>> run with that since it would reduce the load on the webserver. thank you
>> On Sun, Nov 8, 2009 at 2:19 PM, Justin Caratzas <
>> justin.carat...@gmail.com> wrote:
>>> I'm assuming you got that problem fixed, because I just checked that link
>>> and it seems to work fine. The last 8 pages or so have data.
>>> Justin
>>> ps. Is this for the Book Nook franchise of used book stores? I love
>>> that place.
>>> On Sun, Nov 08, 2009 at 06:19:53AM -0500, Greg Milby wrote:
>>> > i tried that - liked the idea, but it didn't go well.
>>> > i wrote ascript to make the js (jQuery) data format - but if you look,
>>> it
>>> > displays tons of empty pages at the end, was never able to figure out
>>> why -
>>> > data is formatted to jQuery spec's
>>> > http://pairadice.no-ip.org/booknook/virt/
>>> > On Sat, Nov 7, 2009 at 10:58 PM, Justin Caratzas
>>> > <justin.carat...@gmail.com>wrote:
>>> > > or using javascript/JQuery, if you use a standard html table
>>> > > Justin Caratzas
>>> > > On Sun, Nov 08, 2009 at 12:28:12AM +0200, Leon Waldman wrote:
>>> > > > Hi,
>>> > > > AFAIK, you can do it on the SQL...
>>> > > > Cheers
>>> > > > --
>>> > > > Leon Waldman
>>> > > > SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
>>> > > > On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com>
>>> wrote:
>>> > > > > actually i was trying to learn how to paginate in webpy.
>>> > > > > On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <
>>> ang...@gladding.name
>>> > > >wrote:
>>> > > > >> Can you clarify what it is you mean by "sort them with links"?
>>> Are you
>>> > > > >> dealing w/ raw HTML or are you sending an unsorted list to a
>>> template?
>>> > > > >> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com>
>>> wrote:
>>> > > > >>> i have a wicked long list of used books - wondering if i can
>>> sort
>>> > > them
>>> > > > >>> with links?
i would still like to know how to paginate in python *if anyone has figured
it out - even though i will probably use jquery. i do not know where to
begin with passing the links/code in and out of the template layer...
On Sun, Nov 8, 2009 at 6:19 AM, Greg Milby <gmi...@gmail.com> wrote:
> i tried that - liked the idea, but it didn't go well.
> i wrote ascript to make the js (jQuery) data format - but if you look, it
> displays tons of empty pages at the end, was never able to figure out why -
> data is formatted to jQuery spec's
> http://pairadice.no-ip.org/booknook/virt/
> On Sat, Nov 7, 2009 at 10:58 PM, Justin Caratzas <
> justin.carat...@gmail.com> wrote:
>> or using javascript/JQuery, if you use a standard html table
>> Justin Caratzas
>> On Sun, Nov 08, 2009 at 12:28:12AM +0200, Leon Waldman wrote:
>> > Hi,
>> > AFAIK, you can do it on the SQL...
>> > Cheers
>> > --
>> > Leon Waldman
>> > SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
>> > On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
>> > > actually i was trying to learn how to paginate in webpy.
>> > > On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <ang...@gladding.name
>> >wrote:
>> > >> Can you clarify what it is you mean by "sort them with links"? Are
>> you
>> > >> dealing w/ raw HTML or are you sending an unsorted list to a
>> template?
>> > >> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
>> > >>> i have a wicked long list of used books - wondering if i can sort
>> them
>> > >>> with links?
use a hidden field for the current page number, then set the offset to page * limit. atleast, thats how i've seen it done before. that could be taken a step further by ajax.
On Sun, Nov 08, 2009 at 05:43:15PM -0500, Greg Milby wrote:
> i would still like to know how to paginate in python *if anyone has figured
> it out - even though i will probably use jquery. i do not know where to
> begin with passing the links/code in and out of the template layer...
> On Sun, Nov 8, 2009 at 6:19 AM, Greg Milby <gmi...@gmail.com> wrote:
> > i tried that - liked the idea, but it didn't go well.
> > i wrote ascript to make the js (jQuery) data format - but if you look, it
> > displays tons of empty pages at the end, was never able to figure out why -
> > data is formatted to jQuery spec's
> > http://pairadice.no-ip.org/booknook/virt/
> > On Sat, Nov 7, 2009 at 10:58 PM, Justin Caratzas <
> > justin.carat...@gmail.com> wrote:
> >> or using javascript/JQuery, if you use a standard html table
> >> Justin Caratzas
> >> On Sun, Nov 08, 2009 at 12:28:12AM +0200, Leon Waldman wrote:
> >> > Hi,
> >> > AFAIK, you can do it on the SQL...
> >> > Cheers
> >> > --
> >> > Leon Waldman
> >> > SysAdmin Linux - Arquiteto de Infra-Estrutura & TI.
> >> > On Sat, Nov 7, 2009 at 11:55 PM, Greg Milby <gmi...@gmail.com> wrote:
> >> > > actually i was trying to learn how to paginate in webpy.
> >> > > On Sat, Nov 7, 2009 at 2:09 PM, Angelo Gladding <ang...@gladding.name
> >> >wrote:
> >> > >> Can you clarify what it is you mean by "sort them with links"? Are
> >> you
> >> > >> dealing w/ raw HTML or are you sending an unsorted list to a
> >> template?
> >> > >> On Sat, Nov 7, 2009 at 7:22 AM, geekbuntu <gmi...@gmail.com> wrote:
> >> > >>> i have a wicked long list of used books - wondering if i can sort
> >> them
> >> > >>> with links?