I dont have special function for edit. When I click the icon on to edit the record I get this error. I did not wrote any special function. I am using web2py's
2015-11-01 11:38 GMT+08:00 Anthony <[email protected]>: > On Friday, October 30, 2015 at 11:03:18 PM UTC-4, Yebach wrote: >> >> The thing is IF I put links = [lambda row: A('',_class='glyphicon >> glyphicon glyphicon-remove-sign', >> callback=URL('settings','deactivate',vars=dict(table='workers_skills',field >> = 'ws_status' >> ,value = row.workers_skills.id )))] >> >> Then my function for "deleting" record works but when I want to go to >> edit I get an error. If I put row.id then the oposite >> > > I'm not sure I follow. What do you mean by "go to edit"? Assuming edit is > a separate action/page, how could the callback URL you are using for delete > affect the edit action? Can you show the code related to editing? > > Anthony > >> -- > 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 > [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

