trait SimpleStateful extends StatefulSnippet with Whence with RenderFuncDispatch
The simple composition of StatefulSnippet, Whence and RenderFuncDispatch. This is the common use of stateful snippets and makes things easier.
- Alphabetic
- By Inheritance
- SimpleStateful
- RenderFuncDispatch
- Whence
- StatefulSnippet
- DispatchSnippet
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type DispatchIt = PartialFunction[String, (NodeSeq) => NodeSeq]
- Definition Classes
- DispatchSnippet
Abstract Value Members
- abstract def render: (NodeSeq) => NodeSeq
You have to define this method
You have to define this method
- Definition Classes
- RenderFuncDispatch
Concrete 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 addName(name: String): Unit
- Definition Classes
- StatefulSnippet
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def dispatch: PartialFunction[String, (NodeSeq) => NodeSeq]
The predefined dispatch
The predefined dispatch
- Definition Classes
- RenderFuncDispatch
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def link(to: String, func: () => Any, body: NodeSeq, attrs: SHtml.ElemAttr*): Elem
create an anchor tag around a body
create an anchor tag around a body
- to
- the target
- func
- the function to invoke when the link is clicked
- body
- the NodeSeq to wrap in the anchor tag
- attrs
- the (optional) attributes for the HTML element
- Definition Classes
- StatefulSnippet
- def names: Set[String]
- Definition Classes
- StatefulSnippet
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def redirectTo(where: String): Nothing
Redirect to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
Redirect to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
- Definition Classes
- StatefulSnippet
- def registerThisSnippet(): Unit
- Definition Classes
- StatefulSnippet
- def seeOther(where: String): Nothing
See Other to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
See Other to another page, but make sure this StatefulSnippet is registered on that page so the state continues on the new page
- Definition Classes
- StatefulSnippet
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unregisterThisSnippet(): Unit
- Definition Classes
- StatefulSnippet
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val whence: String
- Attributes
- protected
- Definition Classes
- Whence