Trait

net.liftweb.mapper.view

PaginatedModelSnippet

Related Doc: package view

Permalink

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. 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. type DispatchIt = PartialFunction[String, (NodeSeq) ⇒ NodeSeq]

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

    Permalink
    Definition Classes
    ModelSnippet

Abstract Value Members

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

    Permalink

    The edit snippet

    The edit snippet

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

    Permalink

    The list snippet

    The list snippet

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

    Permalink

    The paginator to delegate to

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addName(name: String): Unit

    Permalink
    Definition Classes
    StatefulSnippet
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

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

    Permalink
    Definition Classes
    PaginatedModelSnippetModelSnippet → DispatchSnippet
  8. def editAction(e: T): CssSel

    Permalink

    A ".edit" CssSel

    A ".edit" CssSel

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  15. def link(to: String, func: () ⇒ Any, body: NodeSeq, attrs: http.SHtml.ElemAttr*): Elem

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

    Permalink
    Definition Classes
    ModelSnippet
  17. def names: Set[String]

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

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. var onSave: (view.ModelView[T]) ⇒ Unit

    Permalink

    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

    Permalink
    Definition Classes
    StatefulSnippet
  23. def registerThisSnippet(): Unit

    Permalink
    Definition Classes
    StatefulSnippet
  24. def removeAction(e: T): CssSel

    Permalink

    A ".remove" CssSel

    A ".remove" CssSel

    Definition Classes
    ModelSnippet
  25. def seeOther(where: String): Nothing

    Permalink
    Definition Classes
    StatefulSnippet
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

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

    Permalink
    Definition Classes
    StatefulSnippet
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ModelSnippet[T]

Inherited from StatefulSnippet

Inherited from DispatchSnippet

Inherited from AnyRef

Inherited from Any

Ungrouped