>
> The LOad components is really helpful. However i seem to be loading the
> same form in all my sections.
>
yes you are right. taken from book it said (components) :
build modular applications that minimize server load and maximize code reuse
> Can you perhaps help me out if you have tried this before. I can see that
> the database does not even assign the comments to a certain form.
> How can i ensure each comment is associated with a form.
>
i think the form is for input the table comment_post
def post():
return dict(*form=SQLFORM(db.comment_post).process()*,
comments=db(db.comment_post).select())
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.