I can only get the customer_id and not the sheet #2. So I am always displaying the first customer record and the first sheet record. SO LOST.
args=[request.args(2),request.args(5)]Maybe something about "args=request.args(2,5)"?
You could try to test this:args=[request.args(2),request.args(5)]
--
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 a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/VW9k-9LIEAs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have my routes.py set to the application (a). As far as what is request.args(0), that is what is confusing. That URL is generated by smartgrid. Manage_customers is the controller, so customer should be the function but it is not. View is the function. This is why I am having trouble understanding how to grab the customer id and the sheet id.
Thank you,
Jeff Riley
Sorry, edit is the function. This URL does not call view.
args=[request.args(2),request.args(5)]