Am puzzled by this, that I cant post text from request.vars value to 
database and when refreshing, the text is there but I cant access this 
value to controller functions.
This is my code:
def progress_view():
    form = SQLFORM(Post, formstyle='table3cols').process()
    if request.vars:
        r = [request.vars.name]
        codes.append(r[0])
        db.post.insert(name=codes[0])
    #db(db.post.id > 11).update(message=codes[0])
    row = db(db.post.author== auth.user.id).select(db.post.id, 
db.post.name, orderby=~db.post.id, limitby=(0,1)).first()
    code = row.name if row else None
    return dict(code=code)
Is there a way of accessing the CURRENT value from request.vars to 
controller ? like append to a list without refreshing the page
Is there a javascript/jquery function that can do DAL refresh?

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