Why don't you pass the product id as an arg[product_id]?
You can have a link like this _href=URL(r=request, 
c='products_listing/view', f='products', args=[product_id]) 
you know it's not really userfriendly to manipulate the grid view form.

On Friday, December 6, 2013 2:59:46 PM UTC+1, Gael Princivalle wrote:
>
> Hello all.
>
> Is it possible to call a function/page with an SQLFORM.grid asking for the 
> single view mode instead of the list mode ?
>
> Something like ...
> {{=A('test link', _href=URL('products_listing/view/products/717'))}}
>
> Thanks.
>

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

Reply via email to