Something like this yes This is my code
in my controler where i define my SQLFORM.grid links = [lambda row: A('',_class='glyphicon glyphicon glyphicon-remove-sign', _href =URL('settings','deactivate', vars=dict(s = '2')))] 2015-09-18 1:47 GMT+08:00 Dave S <snidely....@gmail.com>: > > > On Thursday, September 17, 2015 at 3:55:48 AM UTC-7, Anthony wrote: >> >> What do you mean you cannot send vars? Exactly what is happening? Please >> show more code. > > > > The snippet above looks lik he's trying to set vars within the URL helper > inside the lambda. Is he trying to make a link that looks like this? > http://mydomain/myapp/settings/deactivate/vars={(s,'2')} > (abusing dict notation slightly) > > /dps > > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/3T1Qaf39wJg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Lep pozdrav Vid Ogris -- 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.