net.liftweb.mapper.view.ModelSnippet

trait ModelSnippet

trait ModelSnippet[T <: Mapper[T]]

 extends StatefulSnippet


A snippet that can list and edit items of a particular Mapper class
author
- nafg


Source: ModelView.scala(34)

Direct Known Subclasses

PaginatedModelSnippet,

Nested Classes

ModelView,

 Fields

names.. def names Set[String] StatefulSnippet
onSave.. var onSave
Action when save is successful [details]
Defaults to using the ModelView's redirectOnSave
(ModelView[T]) => Unit
view.. abstract val view
The instance of ModelView that wraps the currently loaded entity
ModelView[T]

 Methods

!=.. final def !=(arg0 : Object) Boolean AnyRef
!=.. final def !=(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Any) Boolean Any
==.. final def ==(arg0 : Object) Boolean AnyRef
addName.. def addName(arg0 : String) Unit StatefulSnippet
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
dispatch.. def dispatch PartialFunction[String, (NodeSeq) => NodeSeq]
edit.. abstract def edit(ns : NodeSeq)
The edit snippet
NodeSeq
editAction.. def editAction(e : T) TheBindParam
eq.. final def eq(arg0 : Object) Boolean AnyRef
equals.. def equals(arg0 : Any) Boolean AnyRef
finalize.. protected def finalize Unit AnyRef
getClass.. final def getClass Class[Any] AnyRef
hashCode.. def hashCode Int AnyRef
isInstanceOf.. final def isInstanceOf[T0] Boolean Any
link.. def link(arg0 : String, arg1 : () => Any, arg2 : NodeSeq) Elem StatefulSnippet
list.. abstract def list(ns : NodeSeq)
The list snippet
NodeSeq
load.. def load(entity : T) Unit
ne.. final def ne(arg0 : Object) Boolean AnyRef
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
redirectTo.. def redirectTo(arg0 : String) Nothing StatefulSnippet
registerThisSnippet.. def registerThisSnippet Unit StatefulSnippet
removeAction.. def removeAction(e : T) TheBindParam
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
unregisterThisSnippet.. def unregisterThisSnippet Unit StatefulSnippet
wait.. final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait.. final def wait(arg0 : Long) Unit AnyRef
wait.. final def wait Unit AnyRef
Copyright (c) 2006-2010 WorldWide Conferencing, LLC. All Rights Reserved.