I went back to Massimos original code...
and now I get this error:
TypeError: 'NoneType' object is not iterable
ticket:
for head in response.menu:
response.write('\n <b>',escape=False)
response.write(A(head[0],_href=head[2]))
response.write('</b>\n <ul>
\n ',escape=False)
for item in head[4]:
response.write('\n <li>',escape=False)
response.write(A(item[0],_href=item[2]))
response.write('</li>\n ',escape=False)
pass
response.write('\n </ul>\n
',escape=False)
pass
what do ya think?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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
-~----------~----~----~----~------~----~------~--~---