|
s:validateAll |
|
<p>The <s:validateAll> tag validates all child input components bound to backing bean properties using Hibernate. (Requires the Hibernate annotations library on your classpath.)</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>
|