net.liftweb.builtin.snippet.Msgs

object Msgs

object Msgs

 extends DispatchSnippet with ScalaObject


This built in snippet renders messages (Errors, Warnings, Notices) in a div. Typically it is used in templates as a place holder for any messages that are not associated with an ID. Setting the attribute showAll to true will render all messages, with and without an ID. This will lead to duplicate messages if additionally the Msg built in snippet is used to show messages associated with an ID. E.g. (child nodes are optional)
 <lift:Msgs showAll="false">
   <lift:error_msg>Error!  The details are:</lift:error_msg>
   <lift:error_class>errorBox</lift:error_class>
   <lift:warning_msg>Whoops, I had a problem:</lift:warning_msg>
   <lift:warning_class>warningBox</lift:warning_class>
   <lift:notice_msg>Note:</lift:notice_msg>
   <lift:notice_class>noticeBox</lift:notice_class>
 </lift:snippet>
 


Source: Msgs.scala(50)

 Constructors

def this

 Fields

dispatch.. def dispatch PartialFunction

 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
asInstanceOf.. final def asInstanceOf[T0] T0 Any
clone.. protected def clone Object AnyRef
effects.. def effects(noticeType : Value, id : String) NodeSeq
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
ne.. final def ne(arg0 : Object) Boolean AnyRef
noticesFadeOut.. def noticesFadeOut(noticeType : Value, id : String) NodeSeq
notify.. final def notify Unit AnyRef
notifyAll.. final def notifyAll Unit AnyRef
render.. def render(styles : NodeSeq) NodeSeq
synchronized.. final def synchronized[T0](arg0 : T0) T0 AnyRef
toString.. def toString String AnyRef
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.