This method renders a <script/> element that renders effects for the given id.
This method renders a <script/> element that renders effects for the given id.
net.liftweb.builtin.snippet.Msgs#effects[T](Box[NoticeType.Value],String,T,Box[JsCmd => T])
This method performs extraction of the CSS class attributes as well as rendering of any messages for the given id.
This method renders the <span/> for a given id's notices, along with any effects configured for the id.
This method renders the <span/> for a given id's notices, along with any effects configured for the id.
net.liftweb.http.LiftRules#noticesEffects
net.liftweb.http.S#error(String,NodeSeq)
net.liftweb.http.S#error(String,String)
This class is a built in snippet that allows rendering only notices (Errors, Warnings, Notices) that are associated with the id provided. This snippet also renders effects configured for the given id. Typically this will be used near by form fields to indicate that a certain field failed the validation. For example:
Additionally, you may specify additional CSS classes to be applied to each type of notice using the followin attributes:
Notices for specific ids are set via the S.error(String,String) or S.error(String,NodeSeq) methods. Global (non-id) notices are rendered via the Msgs snippet.
net.liftweb.http.LiftRules#noticesEffects
net.liftweb.http.S#error(String,NodeSeq)
net.liftweb.http.S#error(String,String)
net.liftweb.builtin.snippet.Msgs