|
s:decorate |
|
<p>The <s:decorate> tag surrounds a JSF input component and displays a message when validation fails.</p>
Example
<s:validateAll>
<s:decorate>
<h:inputText id="username" value="#{userBean.username}" required="#{true}" maxlength="10" />
<h:commandButton />
<h:message for="username" styleClass="error" />
</s:decorate>
</s:validateAll>
|