It may be also permission issue? Richard
On Fri, Feb 7, 2014 at 7:54 PM, 黄祥 <steve.van.chris...@gmail.com> wrote: > hi, > > is it possible to have represent on grid that link to another grid? > e.g. > table.supplier.represent = lambda supplier, field: \ > A(supplier.name, _title=T("View Supplier"), _target="_blank", > _href=URL('report','report_supplier', args = ['supplier', 'view', > 'supplier', field.supplier]) ) > > i've tested above code but not work (no traceback occured, just a flash > message told not authorized), check on inspect element, got the url without > the signature. i assume it related with signature. how to achieve it in > web2py way? > > trying to learn from appadmin code in select function, but can't see > anything for represent. > > thanks and best regards, > stifan > > -- > 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/groups/opt_out. > -- 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/groups/opt_out.