Re: [web2py] Re: crud edit

2014-11-17 Thread Richard Vézina
Don't have time to study your problem carefully... Though I guess you can pass your var throught session.var from parent controller to child controller... To do that, once your parent form is accepted you just iter over you form.vars or just pass the vars one at an time... for var in form.vars:

Re: [web2py] Re: crud edit

2014-11-14 Thread Alex Glaros
thanks Richard 1. will update CRUD later but need to finish project now; sqlFORM raises errors I can't solve for this one function. 2. can you please tell me how to get these two vars from grandparent to persist so that child can return to parent? vars=dict(filter=db.SuperObjectComment.superO

Re: [web2py] Re: crud edit

2014-11-14 Thread Richard Vézina
Alex, Massimo has wrote on this list in the pass that he don't want to maintain CRUD in the future. He didn't says when the support for could end though. Since SQLFORM is almost as easy then crud and more flexible, I suggest you to not start using CRUD if you write new code... auth.has_permission

[web2py] Re: crud edit

2014-11-14 Thread Alex Glaros
ok, the below now works, except for the part where it returns to parent controller (highlighted yellow). Seems like there needs to be a way for the child controller to remember the grandparent vars. CHILD CONTROLLER - after form is filled, wants to redirect to parent controller with the correc