I have a form in nested components created by response.js's
Create placeholders per topic
for t in topics:
url = URL('environment', 'issues_per_topic.load',
vars=dict(topic=t.id, mgt_sys="S4"))
response.js += "$.web2py.component('%s','s4_topic_%s');" % (url,
t.id)
url = URL('environment', 'issues_per_topic.load',
vars=dict(topic=t.id, mgt_sys="S3"))
response.js += "$.web2py.component('%s','s3_topic_%s');" % (url,
t.id)
fill placeholders with issues
for i in issues:
url = URL('environment', 'view_issue.load',
vars=dict(issue_id=i.id))
response.js += "$.web2py.component('%s', 'chg_issue_%s');" % (url,
i.id)
Call SQLFORM for editting the record
{{=A(T("Edit"),_href=URL('environment','change_issue.load',
vars=dict(issue_id=i.id)), ajax=True, cid='chg_issue_' +
str(i.id), _class='label') }}
The submit button (=ajax?) is not working on this latter FORM.
What is wrong here?
Richard D
--
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.