Menu builder group and li_item not working
I'm trying to work with a SiteMap which has some different LocGroups in Lift 1.1-snapshot.
When I do:
<lift:Menu.builder li_item:class="selected" />
I can render a menu for the whole sitemap and the selected item has
the class attribute applied.
But, when I do:
<lift:Menu.builder group="site" li_item:class="selected" />
I would expect the same behavior with a subset of items, but it just
doesn't work. The selected item doesn't get the class attribute.
However, if I do:
<lift:Menu.builder group="site" li:class="hello" />
Every item gets the class attribute.
When I do:
<lift:Menu.builder li_item:class="selected" />
I can render a menu for the whole sitemap and the selected item has
the class attribute applied.
But, when I do:
<lift:Menu.builder group="site" li_item:class="selected" />
I would expect the same behavior with a subset of items, but it just
doesn't work. The selected item doesn't get the class attribute.
However, if I do:
<lift:Menu.builder group="site" li:class="hello" />
Every item gets the class attribute.
Leave a comment
on 2010-02-06 19:48 *
By github.importer
Imported from GitHub: http://github.com/dpp/liftweb/issues/53/find