Hi guys!
Another problem found:
- The "form.accepts" fails when I trying submit the form with the
links "add".
Some lines shown in the log:
if form.accepts(request.vars, session):
File "/home/renato/Desenvolvimento/web2py/gluon/sqlhtml.py", line
777, in accepts
self.trows[fieldname][1][0].errors = self.errors
AttributeError: 'tuple' object has no attribute 'errors'
When web2py get the self.trows[fieldname][1], actually, now, it's
taking two objects (the select and the "add" link):
<td>(<gluon.html.SELECT object at 0xa0f41ec>, ' ',
<gluon.html.A object at 0xa100a6c>)</td>
Any tip?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---