I tried this view with no problems:
---- begin file index.html ----
{{extend 'layout.html'}}
{{submenu1=[
['item1',False,URL(r=request,f='item1')],
['item2',False,URL(r=request,f='item2')],
]
submenu2=[
['item3',False,URL(r=request,f='item3')],
['item4',False,URL(r=request,f='item4')],
]
response.my_other_menu=[
['header1',False,'#',submenu1],
['header2',False,'#',submenu2],
]
}}
{{for head in response.my_other_menu:}}
<b>{{=A(head[0],_href=head[2])}}</b><ul>
{{for item in head[3]:}}<li>{{=A(item[0],_href=item[2])}}</
li>{{pass}}
</ul>
{{pass}}
---- end file ---
Massimo
On Oct 12, 4:11 pm, Snoboardfreak <[EMAIL PROTECTED]> wrote:
> hey pros!
>
> anyone tried above code and got same error?
>
> or am i doing something (very) stupid?
>
> any help great!!
>
> tx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---