I use a trick - but I think  w2p should have another way to do is 

    if request.args(-2) == 'new':
       redirect(URL('controller','funcition_edit',args=[request.args(-1)]))
    elif request.args(-3) == 'edit':
       idd = request.args(-1)
       redirect(URL('controller','funcition_edit', args=[idd], vars={'idd' 
: idd} ))


Massimo, please help us






Em quarta-feira, 8 de janeiro de 2020 11:25:06 UTC-3, mostwanted escreveu:
>
> Hi guys, complements of a new year.
> I was wondering if there is a way to style the view page of an 
> SQLFORM.grid displayed by the view button? How do I override the default 
> view page styling?
>
> Regards;
>
> Mostwanted
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/aebfe870-15d1-4bff-b1a4-bddf5f658a55%40googlegroups.com.

Reply via email to