net.liftweb.sitemap

MenuSingleton

trait MenuSingleton extends AnyRef

A DSL for building menus.

Attributes
sealed
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MenuSingleton
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. 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 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.

  7. 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 do
    Menu(S ? "Home") / "index"
    
    and the menu link will be localized for each display.

  8. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  14. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  15. def i (nameAndLink: String): PreMenu

    A convenient way to define a Menu items that's got the same name as it does it's localized LinkText.

    A convenient way to define a Menu items that's got the same name as it does it's localized LinkText.

    Menu.i("Home") / "index"
    
    is short-hand for
    Menu("Home", S ? "Home") / "index"
    

  16. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  17. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  18. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def param [T <: AnyRef] (name: String, linkText: LinkText[T], parser: (String) ⇒ Box[T], encoder: (T) ⇒ String): PreParamMenu[T]

  21. def params [T <: AnyRef] (name: String, linkText: LinkText[T], parser: (List[String]) ⇒ Box[T], encoder: (T) ⇒ List[String]): PreParamsMenu[T]

  22. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  23. def toString (): String

    Definition Classes
    AnyRef → Any
  24. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  25. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  26. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any