because itemize is not the same as a normal table. It expects you to
define how to show a row:
db.mytable.represent=lambda row: P(SPAN(row.name),SPAN
(row.otherfield))
if it does not better, its takes the field only.
Massimo
On Nov 17, 4:45 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> I put this in the controller:
>
> def scholarships():
> return
> dict(schols=t2.itemize(db.schols,query=db.schols.id>0,limitby=(0,10)))
>
> and then in the view:
>
> {{=schols}
>
> but it only shows:
>
> [#1] field1
> [#2] field1
> .
> .
> .
> [#10] field1
>
> How do I show the other fields? I looked for the alterego doc on this
> and couldn't find it. I did find some info in the t2.pdf.
>
> -wj
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---