You have found a bug, which I have submitted here: https://github.com/web2py/web2py/issues/1024
Thanks for putting this together. Anthony On Friday, July 17, 2015 at 1:53:36 PM UTC-4, icodk wrote: > > The attached app is a simple two tables app that demonstrates smart/grid > bug in represent settings: > the line : > db.place.mode.represent=lambda mode,row: A(T(db.place_mode[mode].name), > _href=URL('place_mode_change',args=row.id)) > should generate a link with specific row.id for each row. However, if > the text(in this case the mode db.place_mode[mode].name) is the same for > more then one row, the row.id will not be updated. > In addition, the Add Record button is missing for no obvious(for me ) > reason > > 2.10.4-stable+timestamp.2015.04.26.15.11.54 > (Running on Rocket 1.2.6, Python 2.7.9) > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.