I have a grid inside a component. When I click the 'Edit' button on a row, 
submit the Edit form, then click the 'Edit' button a second time, the page 
reloads with only the component. 

Controllers: 
def index(): 
    """Container controller.""" 
    return dict() 

def people(): 
     """Grid controller.""" 
     grid = SQLFORM.grid(db.person) 
     return dict(grid=grid) 

View: index.html 
{{extend 'layout.html'}} 
{{=LOAD(c='mycontroller', f='people', extension='load', ajax=True)}}

View: people.load 
{{=grid}} 

After some digging I suspect the problem is because *request.cid* gets 
reset to *None*. 
I am using web2py version: 2.8.2 

Any suggestions or is this a bug. 
Jim

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