Check the source code for MENU http://code.google.com/p/web2py/source/browse/gluon/html.py#2029
You can also define your own helper if not flexible enough. On Oct 2, 4:18 pm, António Ramos <ramstei...@gmail.com> wrote: > Hello, i´m working withhttp://www.jeasyui.comtree view for a test app > > i want to use the response.menu variable from web2py with this treeview from > easy ui but i noticed that it needs a <span></span> tag > > how do i change the behaviour of the MENU(response.menu) ? > i want to add <span>menuitem</span> for every <li> tags in response.menu > > like this > <li>*<span>*test menu*</span>*</li> > > thank you