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

Reply via email to