Propagate Menu.builder attributes to child menus when using expandAll
Menu.builder attributes are not being propagated when using expandAll.
<lift:Menu.builder
li_item:class="current"
/>
Works as expected; class="current" is added to the li tag of the
current page.
However, if you use:
<lift:Menu.builder
li_item:class="current"
expandAll="true"
/>
Then the class is not added to the li tag of the current page.
<lift:Menu.builder
li_item:class="current"
/>
Works as expected; class="current" is added to the li tag of the
current page.
However, if you use:
<lift:Menu.builder
li_item:class="current"
expandAll="true"
/>
Then the class is not added to the li tag of the current page.
Leave a comment
on 2010-10-12 15:16 *
By dchenbecker
Assigned to set to dchenbecker
Status changed from New to Accepted
Work remaining changed from 0.0 to 2.0
on 2010-10-12 15:17 *
By dchenbecker
Required documentation changed from None to ScalaDocs
Milestone set to 2.2-M1
Should be able to get this in this week
Actually, looks like I won't get to this this week due to illness
Should get this done this week
review up: http://reviewboard.liftweb.net/r/485/
(In revision:de8640e19908752339231b506aca3ab1bf8734d2) Issue 674: Fixed menu child expansion bug
Closes #674
This turned out to be an issue with Menu.makeMenuItem
using Loc.buildKidMenuItems, which won't expand children.
Added a spec and some other minor tweaks.
Branch: master
Closes #674
This turned out to be an issue with Menu.makeMenuItem
using Loc.buildKidMenuItems, which won't expand children.
Added a spec and some other minor tweaks.
Branch: master
(In revision:4a979ba779f1a35b69db0d0818a0e5c1536699d4) Issue 674: Fixed menu child expansion bug
Closes #674
This turned out to be an issue with Menu.makeMenuItem
using Loc.buildKidMenuItems, which won't expand children.
Added a spec and some other minor tweaks.
Branch: dpp_issue_714
Closes #674
This turned out to be an issue with Menu.makeMenuItem
using Loc.buildKidMenuItems, which won't expand children.
Added a spec and some other minor tweaks.
Branch: dpp_issue_714
Reports of regressions on the demo (and other sites). DPP has reverted the commit and we'll work on a new fix
(In revision:06e2a79cc45c4c78ac831ea2a3edce738d3c9d19) A minor fix to the code introduced for #674
Closes #674
A copy and paste error crept in which prevented menu items
on the path from properly expanding their children.
Branch: master_2.7
Closes #674
A copy and paste error crept in which prevented menu items
on the path from properly expanding their children.
Branch: master_2.7
(In revision:253b451f28dae51610f12b01a869fb919d33bb95) A minor fix to the code introduced for #674
Closes #674
A copy and paste error crept in which prevented menu items
on the path from properly expanding their children.
Branch: master
Closes #674
A copy and paste error crept in which prevented menu items
on the path from properly expanding their children.
Branch: master
(In revision:ad60c257218f2dbb68424301d56af00e2df34ec8) Issue 674: Fixed menu child expansion bug
Closes #674
This turned out to be an issue with Menu.makeMenuItem
using Loc.buildKidMenuItems, which won't expand children.
Added a spec and some other minor tweaks.
Branch: dpp_issue_669
Closes #674
This turned out to be an issue with Menu.makeMenuItem
using Loc.buildKidMenuItems, which won't expand children.
Added a spec and some other minor tweaks.
Branch: dpp_issue_669
(In revision:06e2a79cc45c4c78ac831ea2a3edce738d3c9d19) A minor fix to the code introduced for #674
Closes #674
A copy and paste error crept in which prevented menu items
on the path from properly expanding their children.
Branch: dpp_issue_669
Closes #674
A copy and paste error crept in which prevented menu items
on the path from properly expanding their children.
Branch: dpp_issue_669
(In revision:253b451f28dae51610f12b01a869fb919d33bb95) A minor fix to the code introduced for #674
Closes #674
A copy and paste error crept in which prevented menu items
on the path from properly expanding their children.
Branch: master
Closes #674
A copy and paste error crept in which prevented menu items
on the path from properly expanding their children.
Branch: master