Ah - it's probably this in t2.itemize

        def represent(t,r):
            try: return t.represent(r)
            except KeyError: return '[#%i] %s' % (r.id,r[t.fields[1]])

??

-wes

On Wed, Nov 18, 2009 at 9:57 AM, Wes James <compte...@gmail.com> wrote:
> In the past, I have been able to do a represent with a table.
>
> Massimo - was that a T2 only thing?
>
> -wes
>
> On Wed, Nov 18, 2009 at 9:49 AM, DenesL <denes1...@yahoo.ca> wrote:
>>
>> On Nov 18, 9:45 am, Wes James <compte...@gmail.com> wrote:
>>> In db.py i have:
>>>
>>> db.student.represent=lambda row: TABLE(TR('yep'))
>>
>> You are missing table or field here
>> db.table.field.represent=...
>>>
>>> just to see what happens with
>>>
>>> {{=form}} (in my previous email /app/default/profile)
>>>
>>> but it seems to be ignored.  Any idea why?  I put a break point in
>>> there in wingide and it seems to process the line.
>>>
>>> thx,
>>>
>>> -wes
>> >>
>>
>

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

Reply via email to