Here is my suggestion:
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.menu=[
['header1',false,'#',submeny1],
['header2',false,'#',submeny2],
]
and in view you can do something like this
{{for head in response.menu:}}
<b>{{=A(head[0],_href=head[2])}}</b><ul>
{{for item in head[4]:}}<li>{{=A(item[0],_href=item[2])}}</
li>{{pass}}
</ul>
{{pass}}
You can have another menu by using
response.my_other_menu and in view
{{for head in response.my_other_menu:}}
<b>{{=A(head[0],_href=head[2])}}</b><ul>
{{for item in head[4]:}}<li>{{=A(item[0],_href=item[2])}}</
li>{{pass}}
</ul>
{{pass}}
You can then give classes to the h2, ul, li tags to customize using
css.
T2 defines: T2.menu(response.menu) which generates a menu compatible
with
http://users.tpg.com.au/j_birch/plugins/superfish/
Massimo