net.liftweb.http

PaginatorSnippet

trait PaginatorSnippet[T] extends Paginator[T]

This is the paginator snippet. It provides page navigation and column sorting links. View XHTML is as follows: nav prefix (prefix is configurable by overriding def navPrefix)

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PaginatorSnippet
  2. Paginator
  3. Loggable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def count: Long

    The total number of items

    The total number of items

    Definition Classes
    Paginator
  2. abstract def page: Seq[T]

    The items displayed on the current page

    The items displayed on the current page

    Definition Classes
    Paginator

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. var _first: Long

    Attributes
    protected
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def curPage: Int

    Calculates the current page number, based on the value of 'first.

    Calculates the current page number, based on the value of 'first.'

    Definition Classes
    Paginator
  10. def currentXml: NodeSeq

    The status displayed when using <nav:records/> in the template.

  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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def first: Long

    Overrides the super's implementation so the first record can be overridden by a URL query parameter.

    Overrides the super's implementation so the first record can be overridden by a URL query parameter.

    Definition Classes
    PaginatorSnippetPaginator
  15. def firstXml: NodeSeq

    The "first page" link text

  16. def first_=(f: Long): Unit

    Sets the default starting record of the page (URL query parameters take precedence over this)

  17. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  20. def itemsPerPage: Int

    How many items to put on each page

    How many items to put on each page

    Definition Classes
    Paginator
  21. def lastXml: NodeSeq

    The "last page" link text

  22. val logger: Logger

    Attributes
    protected
    Definition Classes
    Loggable
  23. def navPrefix: String

    The template prefix for general navigation components

  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. def nextXml: NodeSeq

    The "next page" link text

  26. final def notify(): Unit

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

    Definition Classes
    AnyRef
  28. def numPages: Int

    Calculates the number of pages the items will be spread across

    Calculates the number of pages the items will be spread across

    Definition Classes
    Paginator
  29. def offsetParam: String

    The URL query parameter to propagate the record the page should start at

  30. def pageUrl(offset: Long): String

    Returns a URL used to link to a page starting at the given record offset.

  31. def pageXml(newFirst: Long, ns: NodeSeq): NodeSeq

    Returns XML that links to a page starting at the given record offset, if the offset is valid and not the current one.

    Returns XML that links to a page starting at the given record offset, if the offset is valid and not the current one.

    ns

    The link text, if the offset is valid and not the current offset; or, if that is not the case, the static unlinked text to display

  32. def pagesXml(pages: Seq[Int], sep: NodeSeq): NodeSeq

    Generates links to multiple pages with arbitrary XML delimiting them.

  33. def paginate(xhtml: NodeSeq): NodeSeq

    This is the method that binds template XML according according to the specified configuration.

    This is the method that binds template XML according according to the specified configuration. You can reference this as a snippet method directly in your template; or you can call it directly as part of your binding code.

  34. def prevXml: NodeSeq

    The "previous page" link text

  35. def recordsFrom: String

    How to display the page's starting record

  36. def recordsTo: String

    How to display the page's ending record

  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def zoomedPages: List[Int]

    Returns a list of page numbers to be displayed in 'zoomed' mode, i.

    Returns a list of page numbers to be displayed in 'zoomed' mode, i.e., as the page numbers get further from the current page, they are more sparse.

    Definition Classes
    Paginator

Inherited from Paginator[T]

Inherited from Loggable

Inherited from AnyRef

Inherited from Any

Ungrouped