SergeyPo - Many thanks to you for your earlier post with which I am
already intimately familiar. I've been able to follow the advice from
that post successfully in many other cases.

However, I can't seem to figure out how to write a lambda statement
that duplicates the link that web2py/gluon auto-creates for the id
field. I then want to apply that href to any or all other field in the
SQLTABLE for the purposes of making the entire row and all fields and
entries in that row a giant link to that record.

I've tried something like this but it doesn't work:

db.table.name.represent = lambda row: A(_href=URL
(r=request,f='action',args=db(db.table.id==row.id).select
(db.table.id)))

I don't know how to reference the id field while talking about the
name field.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to