Or as you mention the signature that you can pass with URL :
http://web2py.com/books/default/chapter/29/04/the-core#Digitally-signed-urls

Hope it helps

Richard


On Sun, Feb 9, 2014 at 1:46 PM, Richard Vézina
<[email protected]>wrote:

> It may be also permission issue?
>
> Richard
>
>
> On Fri, Feb 7, 2014 at 7:54 PM, 黄祥 <[email protected]> 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 [email protected].
>> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to