This trait contains helper method that will extract parameters and convert path items based on the locPath
An intermediate class that holds the basic stuff that's needed to make a Menu item for SiteMap.
An intermediate class that holds the basic stuff that's needed to make a Menu item for SiteMap.
An intermediate class that holds the basic stuff that's needed to make a Menu item for SiteMap.
The companion object to Menuable that has convenience methods
The companion object to Menuable that has convenience methods
The companion object to Menuable that has convenience methods
A Menu can be created with the syntax
Menu("home_page", "Home") / "index"The first parameter is the name of the page and the second is the LinkText which calculates how Links are presented.
A Menu can be created with the syntax
Menu("home_page", "Home") / "index"The first parameter is the name of the page and the second is the LinkText which calculates how Links are presented. The LinkText parameter to Menu will be treated as call-by-name such that it is re-evaluated each time the menu link is needed. That means you can do
Menu("home_page", S ? "Home") / "index"and the menu link will be localized for each display. You can look up a Menu item by name as well as using the <lift:menu.item name="home_page"> snippet.
A Menu can be created with the syntax
Menu("Home") / "index"The first parameter is the LinkText which calculates how Links are presented.
A Menu can be created with the syntax
Menu("Home") / "index"The first parameter is the LinkText which calculates how Links are presented. The parameter to Menu will be treated as call-by-name such that it is re-evaluated each time the menu link is needed. That means you can do
Menu(S ? "Home") / "index"and the menu link will be localized for each display.
A convenient way to define a Menu item that has the same name as its localized LinkText.
A convenient way to define a Menu item that has the same name as its localized LinkText.
Menu.i("Home") / "index"is short-hand for
Menu("Home", S.loc("Home", Text("Home")) / "index"
Menu.i("Home") / "index"