blackthorne
unread,May 11, 2009, 1:25:29 PM5/11/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py Web Framework
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