| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
def this
|
| Menuable.. |
object Menuable
The companion object to Menuable that has convenience methods
|
|
| !=.. |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| !=.. |
final def !=(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Any)
|
Boolean | Any |
| ==.. |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| apply.. |
def apply(name : String, linkText : LinkText[Unit])
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
[details]
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.
|
PreMenu | |
| apply.. |
def apply(linkText : LinkText[Unit])
A Menu can be created with the syntax
Menu("Home") / "index"
The first parameter is the LinkText which calculates how Links are presented
[details]
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. |
PreMenu | |
| asInstanceOf.. |
final def asInstanceOf[T0]
|
T0 | Any |
| clone.. |
protected def clone
|
Object | AnyRef |
| eq.. |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals.. |
def equals(arg0 : Any)
|
Boolean | AnyRef |
| finalize.. |
protected def finalize
|
Unit | AnyRef |
| getClass.. |
final def getClass
|
Class[Any] | AnyRef |
| hashCode.. |
def hashCode
|
Int | AnyRef |
| i.. |
def i(nameAndLink : String)
A convenient way to define a Menu items that's got the same name as it does it's localized LinkText
[details]
Menu.i("Home") / "index" is short-hand for Menu("Home", S ? "Home") / "index"
|
PreMenu | |
| isInstanceOf.. |
final def isInstanceOf[T0]
|
Boolean | Any |
| ne.. |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| notify.. |
final def notify
|
Unit | AnyRef |
| notifyAll.. |
final def notifyAll
|
Unit | AnyRef |
| synchronized.. |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| toString.. |
def toString
|
String | AnyRef |
| wait.. |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| wait.. |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait.. |
final def wait
|
Unit | AnyRef |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |