Assume am total beginner:
Argument below gets correctly passed to controller named
"comment_on_an_object".
dict(header='Comments', body=lambda row: A('Comments',_class="btn btn-mini"
, _href=URL('comment_on_an_object', vars=dict(filter=row.objectID)))),
looks good so far:
http://127.0.0.1:8000/ES1/default/comment_on_an_object?filter=5
However I also want to pass the row ID of the row to the controller. How is
this done? I've already sent row.objectID. How to send row.id?
What do the receiving controller arg statements look like?
commentsHeader=db.SuperObject(request.args(0)) ???
commentsHeader2=db.objectComments(request.args(1)) ???
thanks
Alex Glaros
--
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.