>
> response.menu = [
>
>     (T('Groups'), False, URL('', 'groups', ' '), []), # want icon-road
>     (T('Events'), False, URL('', 'events', ' '), [])  # want icon-time]
>
>
The first item in the tuple can be an HTML helper, in which case, the menu 
item will end up being LI(A([helper], _href=link)). So, you can put 
anything you want inside the <a></a> tag. If you need something other than 
an HTML element nested inside an <a> tag, you can replace the link (i.e., 
the third item in the tuple) with an HTML helper -- in that case, the 
helper will be rendered as is for that menu item, and no <a> tag will be 
created.

Anthony 

-- 



Reply via email to