response.menu = [['One', False, 'link1',
[
['Two', False, None,
['Three', False, 'link3']
]
]
]
]
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="link1" data-toggle="dropdown">One</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="None">Two</a>
</div>
</li>
Missing something basic, but seems to me that the following code should result in nested menu:
response.menu = [['One', False, 'link1',
[
['Two', False, None,
['Three', False, 'link3']
]
]
]
]"One" menu items contains "two", as it should, but "two" comes out to be a simple menu item, not containing "three" in it. What's missing?? How do I make nested sub-menu items?
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/8e2371ef-4b20-4369-86e0-1d1ebf911952o%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/OFGY4HLlYO4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CACWMBMPH458V35O1Jh%2BKto_Ed2HznYwOsL9wW1qh%2BRe-BP093Q%40mail.gmail.com.
--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ac140d58-8f06-4455-b4e0-b9dd9fd028a0n%40googlegroups.com.
I'm pretty sure that bootstrap doesn't allow nesting menus more than a single level. If you need more you need to use a custom menu system.I'm not sure how that applies to web2py's menu system. But I suspect it too only accommodates a single level by design.
To unsubscribe from this group and stop receiving emails from it, send an email to web...@googlegroups.com.