oops, it is working.  I had nitem=10 instead of nitems=10.

So this does work:

default.py controller

def function()
    return dict(var=t2.itemize(db.dbname,nitems=10))

-wj

On Tue, Nov 18, 2008 at 11:30 AM, Wes James <[EMAIL PROTECTED]> wrote:
> the odd thing is, I change the 25 to 10 in the t2.py file on the
> nitems line and it works right - 10 items per page
>
> On Tue, Nov 18, 2008 at 11:29 AM, Wes James <[EMAIL PROTECTED]> wrote:
>> i should add, it shows 25 items per page with nitems=10
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to