Hi ,
i want to display a user a list of item tht belongs to him:
my_items= 
db(db.t_categories.created_by==auth.user.id).select(db.t_categories.ALL)
Then allow him to update each item from the list:
item_update=crud.update(db.t_categories,request.args(0))
so far so good.
My problem is on the /args(0) page, I still have to make sure that:
db.t_categories.created_by==auth.user.id
I don't know how to inform the controller the var: 
db.t_categories.created_by.
The ajax function or a different way?
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