net.liftmodules.widgets.menu
Builds a Menu widget based on the specified style, groups and JavaScript parameters.
Typical usage involves two parts:
For example, if we want a VERTICAL styled menu in our pages (HORIZONTAL is default), we can define a "menubar" snippet method:
import _root_.scala.xml.NodeSeq import _root_.net.liftweb.widgets.menu.MenuWidget class Menubar { def render (xhtml : NodeSeq) = MenuWidget() }
And then in our template(s), we simply use the following code wherever we want a menu:
<lift:Menubar />
Builds a Menu widget based on the specified style, groups and JavaScript parameters.
Typical usage involves two parts:
For example, if we want a VERTICAL styled menu in our pages (HORIZONTAL is default), we can define a "menubar" snippet method:
And then in our template(s), we simply use the following code wherever we want a menu: