This method produces an appropriate <script> tag to apply effects to the given notice type.
This method produces an appropriate <script> tag to apply effects to the given notice type.
net.liftweb.http.LiftRules.noticesEffects
This method produces appropriate JavaScript to apply effects to the given notice type.
This method produces appropriate JavaScript to apply effects to the given notice type. The caller must provide a default value for cases where effects are not configured, as well as a wrapping function to transform the output.
net.liftweb.http.LiftRules.noticesEffects
This method produces an appropriate <script> tag to fade out the given notice type.
This method produces an appropriate <script> tag to fade out the given notice type.
net.liftweb.http.LiftRules.noticesAutoFadeOut
This method produces appropriate JavaScript to fade out the given notice type.
This method produces appropriate JavaScript to fade out the given notice type. The caller must provide a default value for cases where fadeout is not configured, as well as a wrapping function to transform the output.
net.liftweb.http.LiftRules.noticesAutoFadeOut
This method performs extraction of custom formatting and then renders the current notices.
This method performs extraction of custom formatting and then renders the current notices.
#renderNotices()
This method renders the current notices to XHtml based on the current user-specific formatting from the <lift:Msgs> tag.
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)
JavaScript fadeout and effects for the three types of notices (Errors, Warnings and Notices) can be configured via LiftRules.noticesAutoFadeOut and LiftRules.noticesEffects. Notices for individual elements based on id can be rendered using the <lift:msg/> tag.
net.liftweb.http.LiftRules#noticesEffects
net.liftweb.http.LiftRules#noticesAutoFadeOut
net.liftweb.builtin.snippet.Msg