yes, comment or delete the LI(_class = "divider") solve the problem, thank 
you massimo
in previous version the menu can be created with
*models/menu.py*
if auth.user:
    response.menu += [
(SPAN(T('Settings'), _title = T('Settings') ), False, URL('settings', 
'index'), [
test_menu.menu_0('Language', '4', 'settings', 'language'),
] ), 
    ]

*modules/test_menu.py*
from gluon import *
menu_0 = lambda title, accesskey, controller, function: \
('', False, A(current.T(title), _title = current.T('%s (%s)' % (title, 
accesskey) ), 
  _href = URL(controller, function), _accesskey = accesskey) )

result in web browser for menu element in recent version:
<a class="dropdown-item" href="&lt;a accesskey=" 4"="" title="Language 
(4)">Language</a>
expected result like in previous version:
<a accesskey="4" href="/test/settings/language" title="Language 
(4)">Language</a>

is there any way to achieve it using web2py in recent version?

thanks and best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to