Trait

net.liftweb.http

PaginatorSnippet

Related Doc: package http

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def count: Long

    Permalink

    The total number of items

    The total number of items

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

    Permalink

    The items displayed on the current page

    The items displayed on the current page

    Definition Classes
    Paginator

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

    Permalink
    Attributes
    protected
  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 curPage: Int

    Permalink

    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
  8. def currentXml: NodeSeq

    Permalink

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

  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. def first: Long

    Permalink

    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
  13. def firstXml: NodeSeq

    Permalink

    The "first page" link text

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

    Permalink

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

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

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

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

    Permalink
    Definition Classes
    Any
  18. def itemsPerPage: Int

    Permalink

    How many items to put on each page

    How many items to put on each page

    Definition Classes
    Paginator
  19. def lastXml: NodeSeq

    Permalink

    The "last page" link text

  20. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Loggable
  21. def navPrefix: String

    Permalink

    The template prefix for general navigation components

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

    Permalink
    Definition Classes
    AnyRef
  23. def nextXml: NodeSeq

    Permalink

    The "next page" link text

  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. def numPages: Int

    Permalink

    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
  27. def offsetParam: String

    Permalink

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

  28. def pageUrl(offset: Long): String

    Permalink

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

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

    Permalink

    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

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

    Permalink

    Generates links to multiple pages with arbitrary XML delimiting them.

  31. def paginate: CssSel

    Permalink

    This method binds template HTML based according to the specified configuration.

    This method binds template HTML based 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.

    Classes used to bind:

    • first: link to go back to the first page (populated by firstXml)
    • prev: link to go to previous page (populated by prevXml)
    • all-pages: container for all pages (populated by pagesXml)
    • zoomed-pages: container for zoomedPages (populated by pagesXml)
    • next: link to go to next page (populated by nextXml)
    • last: link to go to last page (populated by lastXml)
    • records: currently visible records + total count (populated by currentXml)
    • records-start: start of currently visible records
    • records-end: end of currently visible records
    • records-count: total records count
  32. def prevXml: NodeSeq

    Permalink

    The "previous page" link text

  33. def recordsFrom: String

    Permalink

    How to display the page's starting record

  34. def recordsTo: String

    Permalink

    How to display the page's ending record

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

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

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

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

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

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

    Permalink

    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.

    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