Thanks a lot anthony!
I've tried the following approach and it's working.

Best Regards

Anthony wrote:
>
>
> Another approach is with response.menu itself. Items in the menu can be 
> LI() elements rather than tuples, so you can define your own custom LI's. 
> For example, instead of: 
>
> response.menu = [(T('Home'), False, URL('default', 'index'))]
>
> you could do:
>
> response.menu = [LI(A('Home', _href=URL('default', 'index')), _id='myid')]
>
> Of course, that is only helpful when limited to the last sub-menu level 
> (doing so at a higher level in the menu hierarchy means you have to 
> manually build the entire lower level of the hierarchy because you lose the 
> ability to nest via tuples).
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to