t

net.liftweb.mapper.view

PaginatedModelSnippet

trait PaginatedModelSnippet[T <: Mapper[T]] extends ModelSnippet[T]

Helper for when using paginators with a ModelSnippet. Adds a dispatch that delegates the "paginate" snippet to the paginator member.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PaginatedModelSnippet
  2. ModelSnippet
  3. StatefulSnippet
  4. DispatchSnippet
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ModelView extends view.ModelView[T]
    Definition Classes
    ModelSnippet
  2. type DispatchIt = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]
    Definition Classes
    DispatchSnippet

Abstract Value Members

  1. abstract def edit(ns: NodeSeq): NodeSeq

    The edit snippet

    The edit snippet

    Definition Classes
    ModelSnippet
  2. abstract def list(ns: NodeSeq): NodeSeq

    The list snippet

    The list snippet

    Definition Classes
    ModelSnippet
  3. abstract val paginator: PaginatorSnippet[T]

    The paginator to delegate to

  4. abstract val view: view.ModelView[T]

    The instance of ModelView that wraps the currently loaded entity

    The instance of ModelView that wraps the currently loaded entity

    Definition Classes
    ModelSnippet

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addName(name: String): Unit
    Definition Classes
    StatefulSnippet
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dispatch: DispatchIt
  8. def editAction(e: T): CssSel

    A ".edit" CssSel

    A ".edit" CssSel

    Definition Classes
    ModelSnippet
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def link(to: String, func: () ⇒ Any, body: NodeSeq, attrs: http.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
  16. def load(entity: T): Unit
    Definition Classes
    ModelSnippet
  17. def names: Set[String]
    Definition Classes
    StatefulSnippet
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. val onSave: (view.ModelView[T]) ⇒ Unit

    Action when save is successful.

    Action when save is successful. Defaults to using the ModelView's redirectOnSave

    Definition Classes
    ModelSnippet
  22. 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
  23. def registerThisSnippet(): Unit
    Definition Classes
    StatefulSnippet
  24. def removeAction(e: T): CssSel

    A ".remove" CssSel

    A ".remove" CssSel

    Definition Classes
    ModelSnippet
  25. 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
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. def unregisterThisSnippet(): Unit
    Definition Classes
    StatefulSnippet
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ModelSnippet[T]

Inherited from StatefulSnippet

Inherited from DispatchSnippet

Inherited from AnyRef

Inherited from Any

Ungrouped