This is used for error reporting when doing validation on a component, example:

<h:inputText id="username" value="#{managedBean.username}" required="true" />
<h:message style="color:red" for="username" />

<h:commandButton action="login" value="Login" />

Category:JSFTags

UIMessage_and_UIMessages (last edited 2009-09-20 23:01:07 by localhost)