db.table.field.represent = lambda value: UL(
        LI(A(T('edit'),_href=URL(r=request, c='default',f='data/update/
table', args=str(value)))),
        LI(A(T('remove'),_href=URL(r=request, c='default',f='data/
delete/table', args=str(value)))))

then make your SQLTABLE, e.g.: SQLTABLE(db().select(db.table.ALL)) and
enjoy

Commends/tweaks/feedback are welcome



--~--~---------~--~----~------------~-------~--~----~
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