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.

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

Type Members

  1. type DispatchIt = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

    Definition Classes
    DispatchSnippet
  2. class ModelView extends ModelView[T]

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: 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: AnyRef): Boolean

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

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

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

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

    Definition Classes
    Any
  6. def addName(name: String): Unit

    Definition Classes
    StatefulSnippet
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def dispatch: DispatchIt

  10. def editAction(e: T): TheBindParam

    An "edit" BindParam

    An "edit" BindParam

    Definition Classes
    ModelSnippet
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

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

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

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def link(to: String, func: () ⇒ Any, body: NodeSeq, attrs: 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
  18. def load(entity: T): Unit

    Definition Classes
    ModelSnippet
  19. def names: Set[String]

    Definition Classes
    StatefulSnippet
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. var onSave: (ModelView[T]) ⇒ Unit

    Action when save is successful.

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

    Definition Classes
    ModelSnippet
  24. 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
  25. def registerThisSnippet(): Unit

    Definition Classes
    StatefulSnippet
  26. def removeAction(e: T): TheBindParam

    A "remove" BindParam

    A "remove" BindParam

    Definition Classes
    ModelSnippet
  27. 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
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def unregisterThisSnippet(): Unit

    Definition Classes
    StatefulSnippet
  31. final def wait(): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. 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