In your templates you can use the "local" messages, described in the
wiki-page:
Somewhere in a template, a table-row for username-input:
<tr>
<td>Username:</td>
<td><u:inputsomthing /></td>
<td><lift:msg id="username_msgs"/></td>
</tr>
... in your Snippets you can address this specific lift-Message-"field"
by: S.notice("username_msgs", "Wow nice username") ... or if you want to
get angry: S.error("username_msgs", "Username completely inacceptable")
... and you can have an abritrary number of lift:msg-items.
Sidenote:
If you use Blueprint, there are some predefined CSS-Classes for:
Quote from screen.css (or forms.css):
.error {... }
.notice {... }
.success {... }
to get them used automagically change the <lift.msg />-thing above to:
<lift:msg id="username_msg" noticeClass="notice" errorClass="error" />
and your notes will be funky and colorfull.
Cornelius