Package

net.liftweb.mapper

view

Permalink

package view

Visibility
  1. Public
  2. All

Type Members

  1. trait ItemsList[T <: Mapper[T]] extends AnyRef

    Permalink

    Keeps track of pending adds to and removes from a list of mappers.

    Keeps track of pending adds to and removes from a list of mappers. Supports in-memory sorting by a field. Usage: override metaMapper with a MetaMapper instance, call sortBy to specify the field to sort by. If it is already sorted by that field it will sort descending, otherwise ascending. Call save to actualize changes.

  2. trait ItemsListEditor[T <: Mapper[T]] extends AnyRef

    Permalink

    General trait to edit an ItemsList.

  3. class MapperPaginator[T <: Mapper[T]] extends Paginator[T]

    Permalink

    Paginate mapper instances by supplying the model you wish to paginate and Paginator will run your query for you etc.

  4. class MapperPaginatorSnippet[T <: Mapper[T]] extends MapperPaginator[T] with PaginatorSnippet[T]

    Permalink

    Convenience class that combines MapperPaginator with PaginatorSnippet

  5. trait ModelSnippet[T <: Mapper[T]] extends StatefulSnippet

    Permalink

    A snippet that can list and edit items of a particular Mapper class This trait can help reduce boilerplate in the common scenario where you want a snippet class to provide list and edit snippets for a specific Mapper class.

  6. class ModelView[T <: Mapper[T]] extends AnyRef

    Permalink

    A wrapper around a Mapper that provides view-related utilities.

    A wrapper around a Mapper that provides view-related utilities. Belongs to a parent ModelSnippet.

  7. trait PaginatedModelSnippet[T <: Mapper[T]] extends ModelSnippet[T]

    Permalink

    Helper for when using paginators with a ModelSnippet.

    Helper for when using paginators with a ModelSnippet. Adds a dispatch that delegates the "paginate" snippet to the paginator member.

  8. class SortedMapperPaginator[T <: Mapper[T]] extends MapperPaginator[T] with SortedPaginator[T, MappedField[_, T]]

    Permalink

    Implements MapperPaginator and SortedPaginator.

  9. class SortedMapperPaginatorSnippet[T <: Mapper[T]] extends SortedMapperPaginator[T] with SortedPaginatorSnippet[T, MappedField[_, T]]

    Permalink

    Convenience class that combines SortedMapperPaginator and SortedPaginatorSnippet.

  10. class TableEditorImpl[T <: Mapper[T]] extends ItemsListEditor[T]

    Permalink

    This class does the actual view binding against a ItemsList.

    This class does the actual view binding against a ItemsList. The implementation is in the base trait ItemsListEditor

    Attributes
    protected

Value Members

  1. object TableEditor

    Permalink

    Holds a registry of TableEditor delegates Call TableEditor.registerTable(name_to_use_in_view, meta_mapper_for_the_table, display_title) in Boot after DB.defineConnectionManager.

    Holds a registry of TableEditor delegates Call TableEditor.registerTable(name_to_use_in_view, meta_mapper_for_the_table, display_title) in Boot after DB.defineConnectionManager. Referencing TableEditor triggers registering its snippet package and enabling the provided template, /tableeditor/default.

  2. object Util

    Permalink

    Provides a number of methods that make complex Mapper-based view snippets easier to build.

  3. package snippet

    Permalink

Ungrouped