traitTBNavlist extends FlexMenuBuilder with DispatchSnippet
TBNavList Snippet Bootstrap v2.x
This snippet object transforms lift SiteMap menu items associated with specified loc
group name's into Twitter Bootsrap Navlist items including nav-header label items and menu dividers from SiteMap entries.
See also the TBLocInfo object in net.liftmodules.FoBo for various, simple to use, SiteMap manipulation functions.
TBNavList Snippet Bootstrap v2.x
This snippet object transforms lift SiteMap menu items associated with specified loc group name's into Twitter Bootsrap Navlist items including nav-header label items and menu dividers from SiteMap entries.
See also the TBLocInfo object in net.liftmodules.FoBo for various, simple to use, SiteMap manipulation functions.
Snippet Usage:
<span data-lift="FoBo.TBNavlist.builder?group=[LocGroup name]"></span>
Snippet Params:
Result: The above will result in
This will be expand into a twitter bootstrap navlist's built from the named Lift menu locGroup content.
Example - Navlist Invoke with something like this
Result: This will create a Navlist with menu entries associated with the LocGroup 'nl1'.
v1.0