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
ModelSnippet[T], StatefulSnippet, DispatchSnippet, AnyRef, Any
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. def edit (ns: NodeSeq): NodeSeq

    The edit snippet

    The edit snippet

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

    The list snippet

    The list snippet

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

    The paginator to delegate to

    The paginator to delegate to

    Attributes
    abstract
  4. val view : ModelView[T]

    The instance of ModelView that wraps the currently loaded entity

    The instance of ModelView that wraps the currently loaded entity

    Attributes
    abstract
    Definition Classes
    ModelSnippet

Concrete 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 addName (name: String): Unit

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

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

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

    Definition Classes
    PaginatedModelSnippetModelSnippet → DispatchSnippet
  10. def editAction (e: T): TheBindParam

    An "edit" BindParam

    An "edit" BindParam

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

    Attributes
    final
    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. def getClass (): java.lang.Class[_]

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

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

    Attributes
    final
    Definition Classes
    Any
  17. def link (to: String, func: () ⇒ Any, body: NodeSeq, attrs: ElemAttr*): Elem

    Definition Classes
    StatefulSnippet
  18. def load (entity: T): Unit

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

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

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

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

    Attributes
    final
    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

    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

    Definition Classes
    StatefulSnippet
  28. def synchronized [T0] (arg0: ⇒ T0): T0

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

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

    Definition Classes
    StatefulSnippet
  31. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ModelSnippet[T]

Inherited from StatefulSnippet

Inherited from DispatchSnippet

Inherited from AnyRef

Inherited from Any