object Menu extends MenuSingleton with Serializable
- Alphabetic
- By Inheritance
- Menu
- Serializable
- Serializable
- MenuSingleton
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait BaseMenuable extends AnyRef
- class Menuable extends ConvertableToMenu with BaseMenuable
-
trait
ParamExtractor
[ConvertFrom, ConvertTo] extends AnyRef
This trait contains helper method that will extract parameters and convert path items based on the locPath
- class ParamMenuable [T] extends ConvertableToMenu with BaseMenuable
- class ParamsMenuable [T] extends ConvertableToMenu with BaseMenuable
-
class
PreMenu
extends AnyRef
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. You must include at least one URI path element by calling the / method.
-
class
PreParamMenu
[T <: AnyRef] extends AnyRef
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. You must include at least one URI path element by calling the / method
-
class
PreParamsMenu
[T <: AnyRef] extends AnyRef
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. You must include at least one URI path element by calling the / method.
- trait WithSlash extends AnyRef
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(name: String, linkText: LinkText[Unit]): PreMenu
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 doMenu("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.- Definition Classes
- MenuSingleton
-
def
apply(linkText: LinkText[Unit]): PreMenu
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 doMenu(S ? "Home") / "index"
and the menu link will be localized for each display.- Definition Classes
- MenuSingleton
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
i(nameAndLink: String): PreMenu
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 forMenu("Home", S.loc("Home", Text("Home")) / "index"
Menu.i("Home") / "index"
- Definition Classes
- MenuSingleton
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
param[T <: AnyRef](name: String, linkText: LinkText[T], parser: (String) ⇒ Box[T], encoder: (T) ⇒ String): PreParamMenu[T]
- Definition Classes
- MenuSingleton
-
def
params[T <: AnyRef](name: String, linkText: LinkText[T], parser: (List[String]) ⇒ Box[T], encoder: (T) ⇒ List[String]): PreParamsMenu[T]
- Definition Classes
- MenuSingleton
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
object
Menuable
The companion object to Menuable that has convenience methods
-
object
ParamMenuable
The companion object to Menuable that has convenience methods
-
object
ParamsMenuable
The companion object to Menuable that has convenience methods